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

Unified Diff: mojo/environment/environment.cc

Issue 695593002: Add Chromium environment application test support. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Sync and rebase. Created 6 years, 2 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
« no previous file with comments | « mojo/environment/default_run_loop_impl.cc ('k') | mojo/public/cpp/application/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/environment/environment.cc
diff --git a/mojo/environment/environment.cc b/mojo/environment/environment.cc
index 72b5c081411545ce17bb1485bf2841222132c46c..418d89e60e6cd453826ac31d814ef0946f3a7348 100644
--- a/mojo/environment/environment.cc
+++ b/mojo/environment/environment.cc
@@ -4,9 +4,9 @@
#include "mojo/public/cpp/environment/environment.h"
-#include "base/logging.h"
#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 {
@@ -36,14 +36,12 @@ const MojoLogger* Environment::GetDefaultLogger() {
// static
void Environment::InstantiateDefaultRunLoop() {
- // TODO(msw): Support the base::MessageLoop/RunLoop Chromium-environment.
- NOTIMPLEMENTED();
+ internal::InstantiateDefaultRunLoopImpl();
}
// static
void Environment::DestroyDefaultRunLoop() {
- // TODO(msw): Support the base::MessageLoop/RunLoop Chromium-environment.
- NOTIMPLEMENTED();
+ internal::DestroyDefaultRunLoopImpl();
}
} // namespace mojo
« no previous file with comments | « mojo/environment/default_run_loop_impl.cc ('k') | mojo/public/cpp/application/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698