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

Unified Diff: mojo/apps/js/js_app.cc

Issue 637373002: Mojo JS bindings: simplify mojo.connectToService() usage - Part 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed the mojo_internals module, made Connection localFactory optional 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/apps/js/js_app.h ('k') | mojo/apps/js/main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/js_app.cc
diff --git a/mojo/apps/js/js_app.cc b/mojo/apps/js/js_app.cc
index 7b400b24878c35167314fa82e7730e45166f9bba..f3550fa2530719b32958793e8e361bce7ce86260 100644
--- a/mojo/apps/js/js_app.cc
+++ b/mojo/apps/js/js_app.cc
@@ -8,7 +8,7 @@
#include "gin/array_buffer.h"
#include "gin/converter.h"
#include "mojo/apps/js/application_delegate_impl.h"
-#include "mojo/apps/js/mojo_module.h"
+#include "mojo/apps/js/mojo_bridge_module.h"
namespace mojo {
namespace apps {
@@ -19,8 +19,8 @@ JSApp::JSApp(ApplicationDelegateImpl* app_delegate_impl)
app_delegate_impl_task_runner_(
base::MessageLoop::current()->task_runner()) {
CHECK(on_app_delegate_impl_thread());
- runner_delegate_.AddBuiltinModule(Mojo::kModuleName,
- base::Bind(Mojo::GetModule, this));
+ runner_delegate_.AddBuiltinModule(MojoInternals::kModuleName,
+ base::Bind(MojoInternals::GetModule, this));
}
JSApp::~JSApp() {
« no previous file with comments | « mojo/apps/js/js_app.h ('k') | mojo/apps/js/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698