summaryrefslogtreecommitdiffstats
path: root/src/core/profile_io_data_qt.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2018-06-15 12:38:30 +0200
committerMichal Klocek <michal.klocek@qt.io>2018-07-09 19:22:11 +0000
commitd599aea151a5c7753e7eb1fc1a2c2b5953ac580b (patch)
tree3563522c3c15e4043a8e8a0023cb2f21a9709891 /src/core/profile_io_data_qt.h
parent10877c3ec0184e6c2a07b8775d32c8efc38a29a3 (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_io_data_qt.h')
-rw-r--r--src/core/profile_io_data_qt.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/profile_io_data_qt.h b/src/core/profile_io_data_qt.h
index c11227423..db0ec0146 100644
--- a/src/core/profile_io_data_qt.h
+++ b/src/core/profile_io_data_qt.h
@@ -40,8 +40,7 @@
#ifndef PROFILE_IO_DATA_QT_H
#define PROFILE_IO_DATA_QT_H
-#include "browser_context_adapter.h"
-
+#include "profile_adapter.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/custom_handlers/protocol_handler_registry.h"
#include "services/proxy_resolver/public/mojom/proxy_resolver.mojom.h"
@@ -118,13 +117,13 @@ private:
proxy_resolver::mojom::ProxyResolverFactoryPtr m_proxyResolverFactory;
net::URLRequestJobFactoryImpl *m_baseJobFactory = nullptr;
QAtomicPointer<net::ProxyConfigService> m_proxyConfigService;
- QPointer<BrowserContextAdapter> m_browserContextAdapter; // never dereferenced in IO thread and it is passed by qpointer
- BrowserContextAdapter::PersistentCookiesPolicy m_persistentCookiesPolicy;
+ QPointer<ProfileAdapter> m_profileAdapter; // never dereferenced in IO thread and it is passed by qpointer
+ ProfileAdapter::PersistentCookiesPolicy m_persistentCookiesPolicy;
QString m_cookiesPath;
QString m_channelIdPath;
QString m_httpAcceptLanguage;
QString m_httpUserAgent;
- BrowserContextAdapter::HttpCacheType m_httpCacheType;
+ ProfileAdapter::HttpCacheType m_httpCacheType;
QString m_httpCachePath;
QList<QByteArray> m_customUrlSchemes;
QList<QByteArray> m_installedCustomSchemes;