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

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

Issue 2455983004: NOT FOR SUBMISSION: local copy of leon.han's CL (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/platform/exported/Platform.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 747885a940b479fac6bcd5a2f069c40775d78f50..b4ab0d9248c43e26faab811ea04dafefed0e977c 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -140,6 +140,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();
// Used to switch the current platform only for testing.
static void setCurrentPlatformForTesting(Platform*);
« no previous file with comments | « third_party/WebKit/Source/platform/exported/Platform.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698