Chromium Code Reviews| 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. |
|
haraken
2016/10/27 16:13:15
Add a TODO to remove this public API by ensuring a
leonhsl(Using Gerrit)
2016/10/28 05:59:06
Done.
|
| + static bool isMessageLoopReady(); |
| // Used to switch the current platform only for testing. |
| static void setCurrentPlatformForTesting(Platform*); |