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

Unified Diff: mojo/edk/js/threading.cc

Issue 709603002: Move mojo/apps/js tests et al to mojo/edk/js/test,tests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: chromium environment for JS tests 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
Index: mojo/edk/js/threading.cc
diff --git a/mojo/apps/js/bindings/threading.cc b/mojo/edk/js/threading.cc
similarity index 86%
rename from mojo/apps/js/bindings/threading.cc
rename to mojo/edk/js/threading.cc
index 69264376addf8cd84051ec367e417a7525757dee..b571e3e609760f71690d6aa909e0d334264034db 100644
--- a/mojo/apps/js/bindings/threading.cc
+++ b/mojo/edk/js/threading.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/apps/js/bindings/threading.h"
+#include "mojo/edk/js/threading.h"
#include "base/message_loop/message_loop.h"
#include "gin/object_template_builder.h"
@@ -10,7 +10,7 @@
#include "mojo/edk/js/handle.h"
namespace mojo {
-namespace apps {
+namespace js {
namespace {
@@ -22,7 +22,7 @@ gin::WrapperInfo g_wrapper_info = { gin::kEmbedderNativeGin };
} // namespace
-const char Threading::kModuleName[] = "mojo/apps/js/bindings/threading";
+const char Threading::kModuleName[] = "mojo/public/js/threading";
v8::Local<v8::Value> Threading::GetModule(v8::Isolate* isolate) {
gin::PerIsolateData* data = gin::PerIsolateData::From(isolate);
@@ -43,5 +43,5 @@ v8::Local<v8::Value> Threading::GetModule(v8::Isolate* isolate) {
Threading::Threading() {
}
-} // namespace apps
+} // namespace js
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698