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

Unified Diff: mojo/edk/js/drain_data.h

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: more cleanup Created 5 years, 2 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/drain_data.h
diff --git a/third_party/mojo/src/mojo/edk/js/drain_data.h b/mojo/edk/js/drain_data.h
similarity index 90%
copy from third_party/mojo/src/mojo/edk/js/drain_data.h
copy to mojo/edk/js/drain_data.h
index 9767f2ddfb074415f6ce6c7a0c9b569c8832000a..63c9e4992dd7c182aa5206396f192f2effe29ade 100644
--- a/third_party/mojo/src/mojo/edk/js/drain_data.h
+++ b/mojo/edk/js/drain_data.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef THIRD_PARTY_MOJO_SRC_MOJO_EDK_JS_DRAIN_DATA_H_
-#define THIRD_PARTY_MOJO_SRC_MOJO_EDK_JS_DRAIN_DATA_H_
+#ifndef MOJO_EDK_JS_DRAIN_DATA_H_
+#define MOJO_EDK_JS_DRAIN_DATA_H_
#include "base/memory/scoped_vector.h"
#include "gin/runner.h"
@@ -12,7 +12,7 @@
#include "v8/include/v8.h"
namespace mojo {
-namespace js {
+namespace edk {
// This class is the implementation of the Mojo JavaScript core module's
// drainData() method. It is not intended to be used directly. The caller
@@ -58,7 +58,7 @@ class DrainData {
ScopedVector<DataBuffer> data_buffers_;
};
-} // namespace js
+} // namespace edk
} // namespace mojo
-#endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_JS_DRAIN_DATA_H_
+#endif // MOJO_EDK_JS_DRAIN_DATA_H_
« no previous file with comments | « mojo/edk/js/core.cc ('k') | mojo/edk/js/drain_data.cc » ('j') | mojo/edk/system/core.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698