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

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

Issue 2402983002: [TimeZoneMonitor] Decouple renderer side impl from content to blink. (Closed)
Patch Set: Remove TimeZoneMonitorClient::Bind() 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 708d13a5988ae19bc6b5876588d6952df00122d6..091d47d84d5cc2649a2747c79120616b00cba017 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -141,6 +141,11 @@ 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.
+ // TODO(leonhsl): http://crbug.com/660274 Remove this public API by ensuring
+ // a message loop before calling blink::initialize().
+ static bool isMessageLoopReady();
kinuko 2016/11/08 03:22:56 (Putting aside the need of this method that seems
leonhsl(Using Gerrit) 2016/11/08 08:20:39 Yes the only user is Source/modules/ModulesInitial
// Used to switch the current platform only for testing.
static void setCurrentPlatformForTesting(Platform*);

Powered by Google App Engine
This is Rietveld 408576698