Index: third_party/WebKit/public/platform/Platform.h |
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h |
index cbe6aca1fd0b458fccbd68fd250cb3d013c100cc..ce6fc9962c6343fd16cbd0ce84b2172d138222ef 100644 |
--- a/third_party/WebKit/public/platform/Platform.h |
+++ b/third_party/WebKit/public/platform/Platform.h |
@@ -141,6 +141,9 @@ class BLINK_PLATFORM_EXPORT Platform { |
static void initialize(Platform*); |
static void shutdown(); |
static Platform* current(); |
+ // Used to get whether message loop is ready for current thread, to help |
+ // blink::initialize() determining whether can initialize mojo stuff or not. |
+ static bool isMessageLoopReady(); |
haraken
2016/10/18 19:39:11
I want to avoid introducing this if possible...
leonhsl(Using Gerrit)
2016/10/19 08:47:23
I was assuming that we should put wrapper of base:
|
// Used to switch the current platform only for testing. |
static void setCurrentPlatformForTesting(Platform*); |