summaryrefslogtreecommitdiffstats
path: root/src/core/profile_qt.h
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2021-06-16 11:10:33 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-17 18:45:28 +0000
commit267ea323460766b146cf68d8446b8ea7c45f754f (patch)
treec83490a80dd0243046b429c4eaf7aec30220b8c9 /src/core/profile_qt.h
parent1f5b21e5c7fd37b5736c3654a0173361d94cb00d (diff)
Clean up header includes and friend classes in core
Change-Id: I394821d57a9cf379869d3611996c8394fbc6c60e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 450a491b2d6c74512a3f30c0fb15eabd51e15cbc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/core/profile_qt.h')
-rw-r--r--src/core/profile_qt.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/profile_qt.h b/src/core/profile_qt.h
index 349532939..e32c409f1 100644
--- a/src/core/profile_qt.h
+++ b/src/core/profile_qt.h
@@ -122,9 +122,6 @@ public:
bool ensureDirectoryExists();
private:
- friend class ContentBrowserClientQt;
- friend class ProfileIODataQt;
- friend class WebContentsAdapter;
std::unique_ptr<BrowsingDataRemoverDelegateQt> m_removerDelegate;
std::unique_ptr<PermissionManagerQt> m_permissionManager;
std::unique_ptr<SSLHostStateDelegateQt> m_sslHostStateDelegate;
@@ -134,11 +131,12 @@ private:
ProfileAdapter *m_profileAdapter;
PrefServiceAdapter m_prefServiceAdapter;
- friend class ProfileAdapter;
#if BUILDFLAG(ENABLE_EXTENSIONS)
extensions::ExtensionSystemQt *m_extensionSystem;
#endif //ENABLE_EXTENSIONS
- friend class BrowserContextAdapter;
+
+ friend class ProfileAdapter;
+ friend class ProfileIODataQt;
DISALLOW_COPY_AND_ASSIGN(ProfileQt);
};