Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 2402983002: [TimeZoneMonitor] Decouple renderer side impl from content to blink. (Closed)
Patch Set: content_unittests does not need to init mojo edk any more by itself Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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*);

Powered by Google App Engine
This is Rietveld 408576698