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

Unified Diff: services/js/mojo_bridge_module.cc

Issue 703023004: Move the JS content handler et al from mojo/apps/js to mojo/services (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixed DEPS gl build 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
« no previous file with comments | « services/js/mojo_bridge_module.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/mojo_bridge_module.cc
diff --git a/mojo/apps/js/mojo_bridge_module.cc b/services/js/mojo_bridge_module.cc
similarity index 88%
rename from mojo/apps/js/mojo_bridge_module.cc
rename to services/js/mojo_bridge_module.cc
index e5f52aae4f86c3efdff0a615699ea60a9947bddb..7b049f0c2b2b2719db73256bfeb978226bc7e473 100644
--- a/mojo/apps/js/mojo_bridge_module.cc
+++ b/services/js/mojo_bridge_module.cc
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/apps/js/mojo_bridge_module.h"
+#include "services/js/mojo_bridge_module.h"
#include "gin/arguments.h"
#include "gin/converter.h"
#include "gin/object_template_builder.h"
#include "gin/per_isolate_data.h"
-#include "mojo/apps/js/js_app.h"
#include "mojo/edk/js/handle.h"
+#include "services/js/js_app.h"
namespace mojo {
-namespace apps {
+namespace js {
namespace {
@@ -20,7 +20,7 @@ gin::WrapperInfo g_wrapper_info = {gin::kEmbedderNativeGin};
} // namespace
-const char MojoInternals::kModuleName[] = "mojo/apps/js/bridge";
+const char MojoInternals::kModuleName[] = "services/js/bridge";
v8::Local<v8::Value> MojoInternals::GetModule(JSApp* js_app,
v8::Isolate* isolate) {
@@ -45,5 +45,5 @@ v8::Local<v8::Value> MojoInternals::GetModule(JSApp* js_app,
return templ->NewInstance();
}
-} // namespace apps
+} // namespace js
} // namespace mojo
« no previous file with comments | « services/js/mojo_bridge_module.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698