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

Unified Diff: mojo/public/cpp/environment/environment.h

Issue 1447273002: Mojo Log service and a thread-safe client library. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix destructor race condition in log_client.cc; add some comments Created 5 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
Index: mojo/public/cpp/environment/environment.h
diff --git a/mojo/public/cpp/environment/environment.h b/mojo/public/cpp/environment/environment.h
index ce3f7d01ad96b42e0ed6647b778ea1e108f18f68..230846b2d63521520ba374307a9e1f805b50e4bd 100644
--- a/mojo/public/cpp/environment/environment.h
+++ b/mojo/public/cpp/environment/environment.h
@@ -30,7 +30,9 @@ class Environment {
~Environment();
static const MojoAsyncWaiter* GetDefaultAsyncWaiter();
+
static const MojoLogger* GetDefaultLogger();
+ static void SetDefaultLogger(const MojoLogger* logger);
// These instantiate and destroy an environment-specific run loop for the
// current thread, allowing |GetDefaultAsyncWaiter()| to be used. (The run

Powered by Google App Engine
This is Rietveld 408576698