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

Unified Diff: mojo/environment/environment.cc

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/environment/environment.cc
diff --git a/mojo/environment/environment.cc b/mojo/environment/environment.cc
index 562bfe425c8ca90f24ed7078fcdbc3d418dd6b99..8867dd088342fc05e6af2788dd129edaefc5e306 100644
--- a/mojo/environment/environment.cc
+++ b/mojo/environment/environment.cc
@@ -35,6 +35,9 @@ const MojoLogger* Environment::GetDefaultLogger() {
}
// static
+void Environment::SetDefaultLogger(const MojoLogger* logger) {}
+
+// static
void Environment::InstantiateDefaultRunLoop() {
CHECK(!base::MessageLoop::current());
// Not leaked: accessible from |base::MessageLoop::current()|.

Powered by Google App Engine
This is Rietveld 408576698