summaryrefslogtreecommitdiffstats
path: root/src/webengine/api/qquickwebengineprofile.h
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2015-12-08 15:55:01 +0100
committerKai Koehne <kai.koehne@theqtcompany.com>2015-12-15 15:42:36 +0000
commite094d0e630f8c0df8c89746f4690d979a05cd9ff (patch)
tree075160ca61a74302477f2da94041d082064487ae /src/webengine/api/qquickwebengineprofile.h
parent92261a7883809a2ef17a6ae12b472d3631f303d8 (diff)
Add QQuickWebEngineProfile::setRequestInterceptor
Change-Id: Icde3eb91ca61c5fcaa7cf5adc2171a34cc3c2452 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/webengine/api/qquickwebengineprofile.h')
-rw-r--r--src/webengine/api/qquickwebengineprofile.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/webengine/api/qquickwebengineprofile.h b/src/webengine/api/qquickwebengineprofile.h
index 957e55d3f..a6959916b 100644
--- a/src/webengine/api/qquickwebengineprofile.h
+++ b/src/webengine/api/qquickwebengineprofile.h
@@ -54,6 +54,7 @@ class QQuickWebEngineDownloadItem;
class QQuickWebEngineProfilePrivate;
class QQuickWebEngineSettings;
class QWebEngineCookieStore;
+class QWebEngineUrlRequestInterceptor;
class Q_WEBENGINE_EXPORT QQuickWebEngineProfile : public QObject {
Q_OBJECT
@@ -110,10 +111,12 @@ public:
QString httpAcceptLanguage() const;
void setHttpAcceptLanguage(const QString &httpAcceptLanguage);
- static QQuickWebEngineProfile *defaultProfile();
-
QWebEngineCookieStore *cookieStore() const;
+ void setRequestInterceptor(QWebEngineUrlRequestInterceptor *interceptor);
+
+ static QQuickWebEngineProfile *defaultProfile();
+
Q_SIGNALS:
void storageNameChanged();
void offTheRecordChanged();