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

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

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to mojo::edk namespace in preparation for runtim flag Created 5 years, 3 months 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/core.cc
diff --git a/third_party/mojo/src/mojo/edk/js/core.cc b/mojo/edk/js/core.cc
similarity index 98%
copy from third_party/mojo/src/mojo/edk/js/core.cc
copy to mojo/edk/js/core.cc
index cfa58a59a96c1f40679311ef025dc9eaf2f6de97..ed592b4bd79e4187a1b2b850f9760b2fba71d36e 100644
--- a/third_party/mojo/src/mojo/edk/js/core.cc
+++ b/mojo/edk/js/core.cc
@@ -20,7 +20,7 @@
#include "mojo/edk/js/handle.h"
namespace mojo {
-namespace js {
+namespace edk {
namespace {
@@ -282,8 +282,8 @@ v8::Handle<v8::Value> DoDrainData(gin::Arguments* args,
}
bool IsHandle(gin::Arguments* args, v8::Handle<v8::Value> val) {
- gin::Handle<mojo::js::HandleWrapper> ignore_handle;
- return gin::Converter<gin::Handle<mojo::js::HandleWrapper>>::FromV8(
+ gin::Handle<mojo::edk::HandleWrapper> ignore_handle;
+ return gin::Converter<gin::Handle<mojo::edk::HandleWrapper>>::FromV8(
args->isolate(), val, &ignore_handle);
}
@@ -375,5 +375,5 @@ v8::Local<v8::Value> Core::GetModule(v8::Isolate* isolate) {
return templ->NewInstance();
}
-} // namespace js
+} // namespace edk
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698