summaryrefslogtreecommitdiffstats
path: root/src/core/api
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-09-09 10:24:37 +0200
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-09-10 12:01:22 +0000
commit3687d170b130b9261188d2846fc728d709fbf6a4 (patch)
tree084ea7ffe277cba2abb1c17b18015782de4b503e /src/core/api
parent5d0882d44383e357d099e89d95837616bbf8b5a0 (diff)
remove cookie_monster_delegate_qt.h from private header
Otherwise we cannot include qwebenginecookiestoreclient_p.h in tests. Change-Id: I1c45a097cfb81f29e71d0d954919541ccad0b64b Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
Diffstat (limited to 'src/core/api')
-rw-r--r--src/core/api/qwebenginecookiestoreclient.cpp2
-rw-r--r--src/core/api/qwebenginecookiestoreclient_p.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/core/api/qwebenginecookiestoreclient.cpp b/src/core/api/qwebenginecookiestoreclient.cpp
index 61d38099d..3a003ff3e 100644
--- a/src/core/api/qwebenginecookiestoreclient.cpp
+++ b/src/core/api/qwebenginecookiestoreclient.cpp
@@ -37,6 +37,8 @@
#include "qwebenginecookiestoreclient.h"
#include "qwebenginecookiestoreclient_p.h"
+#include <cookie_monster_delegate_qt.h>
+
#include <QByteArray>
#include <QUrl>
diff --git a/src/core/api/qwebenginecookiestoreclient_p.h b/src/core/api/qwebenginecookiestoreclient_p.h
index dbb49c81f..a5b0a7068 100644
--- a/src/core/api/qwebenginecookiestoreclient_p.h
+++ b/src/core/api/qwebenginecookiestoreclient_p.h
@@ -50,7 +50,6 @@
#include "qtwebenginecoreglobal_p.h"
-#include "cookie_monster_delegate_qt.h"
#include "qwebenginecallback_p.h"
#include "qwebenginecookiestoreclient.h"
@@ -59,6 +58,10 @@
#include <QNetworkCookie>
#include <QUrl>
+namespace QtWebEngineCore {
+class CookieMonsterDelegateQt;
+}
+
QT_BEGIN_NAMESPACE
class QWEBENGINE_PRIVATE_EXPORT QWebEngineCookieStoreClientPrivate {