summaryrefslogtreecommitdiffstats
path: root/src/core/profile_qt.h
diff options
context:
space:
mode:
authorKirill Burtsev <kirill.burtsev@qt.io>2019-04-10 16:02:52 +0200
committerKirill Burtsev <kirill.burtsev@qt.io>2019-04-12 09:35:38 +0000
commit1b7c7d853978d5a2ebc4ed06f4879c35bd68aa4f (patch)
tree31d5e633028fe2e35bf380519da78e7dba71c802 /src/core/profile_qt.h
parent89e5a7b1d874dda5b118017bfc6f16eee6a8493b (diff)
Take BrowsingDataRemoverDelegateQt instance ownership by ProfileQt
Delegate assumed to be owned and released by BrowserContext instance Change-Id: I1b5dc3ad2ace6f5c40b9f56e7ed7eb6b23b60925 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/profile_qt.h')
-rw-r--r--src/core/profile_qt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/profile_qt.h b/src/core/profile_qt.h
index 00119c053..b25ea047b 100644
--- a/src/core/profile_qt.h
+++ b/src/core/profile_qt.h
@@ -55,6 +55,7 @@ class PrefService;
namespace QtWebEngineCore {
+class BrowsingDataRemoverDelegateQt;
class ProfileAdapter;
class PermissionManagerQt;
class SSLHostStateDelegateQt;
@@ -113,6 +114,7 @@ private:
friend class ContentBrowserClientQt;
friend class WebContentsAdapter;
scoped_refptr<net::URLRequestContextGetter> m_urlRequestContextGetter;
+ std::unique_ptr<BrowsingDataRemoverDelegateQt> m_removerDelegate;
std::unique_ptr<PermissionManagerQt> m_permissionManager;
std::unique_ptr<SSLHostStateDelegateQt> m_sslHostStateDelegate;
std::unique_ptr<PrefService> m_prefService;