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

Unified Diff: blimp/client/public/blimp_client_context.h

Issue 2241623002: blimp: Move compositing, input and render widget feature to client/core. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments from #7 Created 4 years, 4 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: blimp/client/public/blimp_client_context.h
diff --git a/blimp/client/public/blimp_client_context.h b/blimp/client/public/blimp_client_context.h
index 8b8638f00417f2dac943ac73c3e97b2a8873a151..d8d200a907e18c373b62c79a43fff7d8d006af8b 100644
--- a/blimp/client/public/blimp_client_context.h
+++ b/blimp/client/public/blimp_client_context.h
@@ -37,6 +37,12 @@ class BlimpClientContext : public KeyedService {
BlimpClientContext* blimp_client_context);
#endif // defined(OS_ANDROID)
+ // Must be called only once, on browser startup.
+ static void Initialize();
+
+ // Must be called only once, on browser shutdown.
+ static void Terminate();
+
// Creates a BlimpClientContext. The implementation of this function
// depends on whether the core or dummy implementation of Blimp has been
// linked in.

Powered by Google App Engine
This is Rietveld 408576698