diff options
author | Michal Klocek <michal.klocek@qt.io> | 2018-06-15 12:38:30 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2018-07-09 19:22:11 +0000 |
commit | d599aea151a5c7753e7eb1fc1a2c2b5953ac580b (patch) | |
tree | 3563522c3c15e4043a8e8a0023cb2f21a9709891 /src/core/profile_qt.h | |
parent | 10877c3ec0184e6c2a07b8775d32c8efc38a29a3 (diff) |
Rename BrowserContextAdapter to ProfileAdapter
Follow change of BrowserContextQt to ProfileQt.
Fix wrong naming usage of browserContext instead
of browserContextAdapter.
Change-Id: I75fdac685d9bffd44f0144921d3e87305d6d44c9
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/core/profile_qt.h')
-rw-r--r-- | src/core/profile_qt.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/profile_qt.h b/src/core/profile_qt.h index b8de5531c..56b52198c 100644 --- a/src/core/profile_qt.h +++ b/src/core/profile_qt.h @@ -55,14 +55,14 @@ class PrefService; namespace QtWebEngineCore { -class BrowserContextAdapter; +class ProfileAdapter; class PermissionManagerQt; class SSLHostStateDelegateQt; class ProfileQt : public Profile { public: - explicit ProfileQt(BrowserContextAdapter *); + explicit ProfileQt(ProfileAdapter *profileAdapter); virtual ~ProfileQt(); @@ -99,7 +99,7 @@ public: const PrefService *GetPrefs() const override; net::URLRequestContextGetter *GetRequestContext() override; - BrowserContextAdapter *adapter() { return m_adapter; } + ProfileAdapter *profileAdapter() { return m_profileAdapter; } #if QT_CONFIG(webengine_spellchecker) void FailedToLoadDictionary(const std::string &language) override; @@ -117,8 +117,8 @@ private: std::unique_ptr<SSLHostStateDelegateQt> m_sslHostStateDelegate; std::unique_ptr<PrefService> m_prefService; std::unique_ptr<ProfileIODataQt> m_profileIOData; - BrowserContextAdapter *m_adapter; - friend class BrowserContextAdapter; + ProfileAdapter *m_profileAdapter; + friend class ProfileAdapter; DISALLOW_COPY_AND_ASSIGN(ProfileQt); }; |