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

Unified Diff: services/js/mojo_bridge_module.h

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/modules/gl/module.cc ('k') | services/js/mojo_bridge_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/mojo_bridge_module.h
diff --git a/mojo/apps/js/mojo_bridge_module.h b/services/js/mojo_bridge_module.h
similarity index 57%
rename from mojo/apps/js/mojo_bridge_module.h
rename to services/js/mojo_bridge_module.h
index e3d95f3071de70d4f28d4ae0158056e68e783cde..480962b852107d2460aa6d757ec1d8d8e4383610 100644
--- a/mojo/apps/js/mojo_bridge_module.h
+++ b/services/js/mojo_bridge_module.h
@@ -2,19 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_APPS_JS_MOJO_MODULE_H_
-#define MOJO_APPS_JS_MOJO_MODULE_H_
+#ifndef MOJO_SERVICES_JS_MOJO_MODULE_H_
+#define MOJO_SERVICES_JS_MOJO_MODULE_H_
#include "gin/gin_export.h"
#include "v8/include/v8.h"
namespace mojo {
-namespace apps {
+namespace js {
class JSApp;
-// The JavaScript "mojo/apps/js/mojo" module depends on this built-in module.
-// It provides the bridge between the JSApp class and JavaScript.
+// The JavaScript "services/public/js/mojo" module depends on this
+// built-in module. It provides the bridge between the JSApp class and
+// JavaScript.
class MojoInternals {
public:
@@ -22,7 +23,7 @@ class MojoInternals {
static v8::Local<v8::Value> GetModule(JSApp* js_app, v8::Isolate* isolate);
};
-} // namespace apps
+} // namespace js
} // namespace mojo
-#endif // MOJO_APPS_JS_MOJO_MODULE_H_
+#endif // MOJO_SERVICES_JS_MOJO_MODULE_H_
« no previous file with comments | « services/js/modules/gl/module.cc ('k') | services/js/mojo_bridge_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698