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

Unified Diff: mojo/environment/default_async_waiter.cc

Issue 134253004: Mojo: AsyncWaiter and mojo/public/environment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing files Created 6 years, 11 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: mojo/environment/default_async_waiter.cc
diff --git a/mojo/system/embedder.cc b/mojo/environment/default_async_waiter.cc
similarity index 50%
copy from mojo/system/embedder.cc
copy to mojo/environment/default_async_waiter.cc
index b66fb2b61239e31efcdf850ebf0e2d0c2443eeda..7a46c0798d8df1e9037c5e7db30a1b1226d567eb 100644
--- a/mojo/system/embedder.cc
+++ b/mojo/environment/default_async_waiter.cc
@@ -2,16 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/system/embedder.h"
+#include "mojo/public/environment/default_async_waiter.h"
-#include "mojo/system/core_impl.h"
+#include "mojo/environment/default_async_waiter_impl.h"
namespace mojo {
-namespace embedder {
-void Init() {
- Core::Init(new system::CoreImpl());
+MojoAsyncWaiter* GetDefaultAsyncWaiter() {
+ return internal::GetDefaultAsyncWaiterImpl();
}
-} // namespace embedder
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698