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 708d13a5988ae19bc6b5876588d6952df00122d6..ea50669f6658167c65690b8431a7c068e0dd2627 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(); |
// Used to switch the current platform only for testing. |
static void setCurrentPlatformForTesting(Platform*); |