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

Unified Diff: mojo/shell/context.cc

Issue 135073002: Mojo: Add the beginnings of a proper embedder API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments 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
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/system/core_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/context.cc
diff --git a/mojo/shell/context.cc b/mojo/shell/context.cc
index 6eb8f0b517232a553b0a75f3066206fb2a4619bd..2cb8a54fa167cd1c8e761afde6a209730e69933b 100644
--- a/mojo/shell/context.cc
+++ b/mojo/shell/context.cc
@@ -6,7 +6,7 @@
#include "mojo/shell/dynamic_service_loader.h"
#include "mojo/shell/network_delegate.h"
-#include "mojo/system/core_impl.h"
+#include "mojo/system/embedder.h"
namespace mojo {
namespace shell {
@@ -19,7 +19,7 @@ Context::Context()
task_runners_.cache_runner(),
scoped_ptr<net::NetworkDelegate>(new NetworkDelegate()),
storage_.profile_path()) {
- system::CoreImpl::Init();
+ embedder::Init();
BindingsSupport::Set(&bindings_support_impl_);
dynamic_service_loader_.reset(new DynamicServiceLoader(this));
service_manager_.set_default_loader(dynamic_service_loader_.get());
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/system/core_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698