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

Unified Diff: services/js/js_app.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/js_app.h ('k') | services/js/modules/clock/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/js_app.cc
diff --git a/mojo/apps/js/js_app.cc b/services/js/js_app.cc
similarity index 94%
rename from mojo/apps/js/js_app.cc
rename to services/js/js_app.cc
index 91e62b6f4ab8a0c19c2f90effb564518cd34b5bf..0e31bbf3af8ce1339d99604de8879ea4a2ccbfed 100644
--- a/mojo/apps/js/js_app.cc
+++ b/services/js/js_app.cc
@@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/apps/js/js_app.h"
+#include "services/js/js_app.h"
#include "base/bind.h"
#include "gin/array_buffer.h"
#include "gin/converter.h"
-#include "mojo/apps/js/mojo_bridge_module.h"
#include "mojo/common/data_pipe_utils.h"
+#include "services/js/mojo_bridge_module.h"
namespace mojo {
-namespace apps {
+namespace js {
JSApp::JSApp(ShellPtr shell, URLResponsePtr response) : shell_(shell.Pass()) {
// TODO(hansmuller): handle load failure here and below.
@@ -66,5 +66,5 @@ void JSApp::QuitInternal() {
base::MessageLoop::current()->QuitWhenIdle();
}
-} // namespace apps
+} // namespace js
} // namespace mojo
« no previous file with comments | « services/js/js_app.h ('k') | services/js/modules/clock/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698