summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-06-11 15:44:26 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-07-31 13:44:26 +0200
commit6a8b44c9abcd6b0945eb8f6484b9d40e1ac28d8d (patch)
treef09bb41c87dbd701614b7cce31149d707eb1f9ad
parent6ec7b8da05d21a3878bd21c691b41e675d74bb1c (diff)
downloadqtwebengine-chromium-6a8b44c9abcd6b0945eb8f6484b9d40e1ac28d8d.tar.gz
<chromium> Add WebEngineContext to RunLoop's friends.
Change-Id: I2bb2600637ac5a3473273789cd61c257d682b702 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Jocelyn Turcotte (Woboq GmbH) <jturcotte@woboq.com> Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
-rw-r--r--chromium/base/run_loop.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/base/run_loop.h b/chromium/base/run_loop.h
index 3e20a305f53..af06c4f1b91 100644
--- a/chromium/base/run_loop.h
+++ b/chromium/base/run_loop.h
@@ -18,6 +18,10 @@
#include "base/threading/thread_checker.h"
#include "build/build_config.h"
+namespace QtWebEngineCore {
+class WebEngineContext;
+}
+
namespace base {
#if defined(OS_ANDROID)
class MessagePumpForUI;
@@ -204,6 +208,7 @@ class BASE_EXPORT RunLoop {
// TODO(gab): Break the inter-dependency between MessageLoop and RunLoop
// further. http://crbug.com/703346
friend class MessageLoop;
+ friend class QtWebEngineCore::WebEngineContext;
#if defined(OS_ANDROID)
// Android doesn't support the blocking MessageLoop::Run, so it calls
// BeforeRun and AfterRun directly.