From 6ec3268a30a63d5c15258ea6f4f792e21930b093 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 24 Nov 2014 18:03:17 +0100 Subject: Introduce QWebEngineProfile API Introduces initial widgets API for the Chromium BrowserContext. Adds API for controlling cookie jar policy, user-agent string and cache and persistent data paths. Similar QML API will follow in another patch. [ChangeLog][QtWebEngineWidgets][QWebEngineProfile] New API for profiles applying to groups of QWebEnginePages. Change-Id: I3c4ef4053fde7564af29178c91a0aca8a2b61a5f Reviewed-by: Jocelyn Turcotte --- src/core/web_contents_adapter_p.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/web_contents_adapter_p.h') diff --git a/src/core/web_contents_adapter_p.h b/src/core/web_contents_adapter_p.h index 28df0113a..f47c05de0 100644 --- a/src/core/web_contents_adapter_p.h +++ b/src/core/web_contents_adapter_p.h @@ -42,6 +42,9 @@ #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" +#include + +class BrowserContextAdapter; class QtRenderViewObserverHost; class WebContentsAdapterClient; class WebContentsDelegateQt; @@ -52,6 +55,7 @@ public: WebContentsAdapterPrivate(); ~WebContentsAdapterPrivate(); scoped_refptr engineContext; + QExplicitlySharedDataPointer browserContextAdapter; scoped_ptr webContents; scoped_ptr webContentsDelegate; scoped_ptr renderViewObserverHost; -- cgit v1.2.3