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

Unified Diff: services/js/content_handler_main.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/DEPS ('k') | services/js/js_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/content_handler_main.cc
diff --git a/mojo/apps/js/content_handler_main.cc b/services/js/content_handler_main.cc
similarity index 92%
rename from mojo/apps/js/content_handler_main.cc
rename to services/js/content_handler_main.cc
index acc672864f10413019b9a2b0cfa7dade6c7d4f21..4fb9d7e2d33105beb9ab9814400b5be07fb596ef 100644
--- a/mojo/apps/js/content_handler_main.cc
+++ b/services/js/content_handler_main.cc
@@ -7,13 +7,13 @@
#include "gin/public/isolate_holder.h"
#include "mojo/application/application_runner_chromium.h"
#include "mojo/application/content_handler_factory.h"
-#include "mojo/apps/js/js_app.h"
#include "mojo/public/c/system/main.h"
#include "mojo/public/cpp/application/application_impl.h"
#include "mojo/public/cpp/application/interface_factory_impl.h"
+#include "services/js/js_app.h"
namespace mojo {
-namespace apps {
+namespace js {
class JsContentHandler : public ApplicationDelegate,
public ContentHandlerFactory::Delegate {
@@ -46,10 +46,10 @@ class JsContentHandler : public ApplicationDelegate,
DISALLOW_COPY_AND_ASSIGN(JsContentHandler);
};
-} // namespace apps
+} // namespace js
} // namespace mojo
MojoResult MojoMain(MojoHandle shell_handle) {
- mojo::ApplicationRunnerChromium runner(new mojo::apps::JsContentHandler);
+ mojo::ApplicationRunnerChromium runner(new mojo::js::JsContentHandler);
return runner.Run(shell_handle);
}
« no previous file with comments | « services/js/DEPS ('k') | services/js/js_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698