summaryrefslogtreecommitdiffstats
path: root/src/core/browser_context_adapter.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2018-04-23 12:34:58 +0200
committerMichal Klocek <michal.klocek@qt.io>2018-05-28 14:36:54 +0000
commit6e28e764d7c425f942820f0881231eb83e553e6e (patch)
tree8ebcdb4c081cc92ec8be5a23d3473b74c53bba10 /src/core/browser_context_adapter.h
parentaf313cb881610fedb04c9d486597462e6b3c8e12 (diff)
Unify and simplify profile constructors
Use one constructor for private profile creation. Change-Id: I57a227b6344b6e308cfd4931986fa1dede75cfce Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/core/browser_context_adapter.h')
-rw-r--r--src/core/browser_context_adapter.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/browser_context_adapter.h b/src/core/browser_context_adapter.h
index 76d4f73c0..52dab2325 100644
--- a/src/core/browser_context_adapter.h
+++ b/src/core/browser_context_adapter.h
@@ -66,8 +66,7 @@ class VisitedLinksManagerQt;
class QWEBENGINE_EXPORT BrowserContextAdapter : public QObject
{
public:
- explicit BrowserContextAdapter(bool offTheRecord = false);
- explicit BrowserContextAdapter(const QString &storagePrefix);
+ explicit BrowserContextAdapter(const QString &storagePrefix = QString());
virtual ~BrowserContextAdapter();
static BrowserContextAdapter* defaultContext();