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

Unified Diff: services/js/js_app_runner_delegate.cc

Issue 780213002: Put code in //services/js in namespace js (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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_runner_delegate.h ('k') | services/js/js_app_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/js_app_runner_delegate.cc
diff --git a/services/js/js_app_runner_delegate.cc b/services/js/js_app_runner_delegate.cc
index 999bc6305cac3cb45f361bf0ba1c992c5969fe43..4c453752c2b7a3b782c2ed1508275da46064c452 100644
--- a/services/js/js_app_runner_delegate.cc
+++ b/services/js/js_app_runner_delegate.cc
@@ -11,7 +11,6 @@
#include "mojo/edk/js/support.h"
#include "mojo/edk/js/threading.h"
-namespace mojo {
namespace js {
namespace {
@@ -29,9 +28,11 @@ std::vector<base::FilePath> GetModuleSearchPaths() {
JSAppRunnerDelegate::JSAppRunnerDelegate()
: ModuleRunnerDelegate(GetModuleSearchPaths()) {
AddBuiltinModule(gin::Console::kModuleName, gin::Console::GetModule);
- AddBuiltinModule(Core::kModuleName, Core::GetModule);
- AddBuiltinModule(Support::kModuleName, Support::GetModule);
- AddBuiltinModule(Threading::kModuleName, Threading::GetModule);
+ AddBuiltinModule(mojo::js::Core::kModuleName, mojo::js::Core::GetModule);
+ AddBuiltinModule(mojo::js::Support::kModuleName,
+ mojo::js::Support::GetModule);
+ AddBuiltinModule(mojo::js::Threading::kModuleName,
+ mojo::js::Threading::GetModule);
hansmuller 2014/12/05 23:54:02 NICE.
}
JSAppRunnerDelegate::~JSAppRunnerDelegate() {
@@ -43,6 +44,5 @@ void JSAppRunnerDelegate::UnhandledException(gin::ShellRunner* runner,
LOG(ERROR) << try_catch.GetStackTrace();
}
-} // namespace mojo
} // namespace js
« no previous file with comments | « services/js/js_app_runner_delegate.h ('k') | services/js/js_app_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698