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

Unified Diff: mojo/environment/environment.cc

Issue 710403002: Add Mojo application test support to Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing include. Created 6 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 f8611139381a1440940a85821edbc73c5751112f..418d89e60e6cd453826ac31d814ef0946f3a7348 100644
--- a/mojo/environment/environment.cc
+++ b/mojo/environment/environment.cc
@@ -6,6 +6,7 @@
#include "mojo/environment/default_async_waiter_impl.h"
#include "mojo/environment/default_logger_impl.h"
+#include "mojo/environment/default_run_loop_impl.h"
namespace mojo {
@@ -33,4 +34,14 @@ const MojoLogger* Environment::GetDefaultLogger() {
return internal::GetDefaultLoggerImpl();
}
+// static
+void Environment::InstantiateDefaultRunLoop() {
+ internal::InstantiateDefaultRunLoopImpl();
+}
+
+// static
+void Environment::DestroyDefaultRunLoop() {
+ internal::DestroyDefaultRunLoopImpl();
+}
+
} // namespace mojo
« mojo/environment/default_run_loop_impl.cc ('K') | « mojo/environment/default_run_loop_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698