From fca9015175950b04bafb9b3af7d4e693eb0243d9 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 2 Sep 2014 15:03:16 +0200 Subject: Unglobalize browserContext This patch makes it possible to have more than one BrowserContext, for instance for off-the-record browsering but also to enable any other configuration on browser context level. This will make it possible to add page-groups settings and API for settingsthat can only be done on BrowserContext level. This patch does not expose any new API. Change-Id: I0a0e194449cfb5a096a4ac6e2f2b3882b6b4cfa2 Reviewed-by: Jocelyn Turcotte --- src/core/content_browser_client_qt.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/core/content_browser_client_qt.h') diff --git a/src/core/content_browser_client_qt.h b/src/core/content_browser_client_qt.h index 9cf1695fe..3a70e2427 100644 --- a/src/core/content_browser_client_qt.h +++ b/src/core/content_browser_client_qt.h @@ -91,11 +91,9 @@ public: const base::Callback& callback, content::CertificateRequestResultType* result) Q_DECL_OVERRIDE; - BrowserContextQt* browser_context(); - virtual net::URLRequestContextGetter *CreateRequestContext(content::BrowserContext *content_browser_context, content::ProtocolHandlerMap *protocol_handlers, content::URLRequestInterceptorScopedVector request_interceptorss) Q_DECL_OVERRIDE; - void enableInspector(bool); + void enableInspector(bool enable, content::BrowserContext *browser_context); private: BrowserMainPartsQt* m_browserMainParts; -- cgit v1.2.3