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

Unified Diff: mojo/edk/embedder/simple_platform_shared_buffer.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: more cleanup 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/embedder/simple_platform_shared_buffer.cc
diff --git a/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer.cc b/mojo/edk/embedder/simple_platform_shared_buffer.cc
similarity index 90%
copy from third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer.cc
copy to mojo/edk/embedder/simple_platform_shared_buffer.cc
index 24c147211bb9da9a3e1b10c7e02ee448ed305bde..c09eb8072a99de902f1ac413bc4adb74c284f2eb 100644
--- a/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer.cc
+++ b/mojo/edk/embedder/simple_platform_shared_buffer.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer.h"
+#include "mojo/edk/embedder/simple_platform_shared_buffer.h"
#include "base/logging.h"
-#include "third_party/mojo/src/mojo/edk/embedder/platform_handle_utils.h"
+#include "mojo/edk/embedder/platform_handle_utils.h"
namespace mojo {
-namespace embedder {
+namespace edk {
// static
SimplePlatformSharedBuffer* SimplePlatformSharedBuffer::Create(
@@ -77,7 +77,7 @@ scoped_ptr<PlatformSharedBufferMapping> SimplePlatformSharedBuffer::MapNoCheck(
}
ScopedPlatformHandle SimplePlatformSharedBuffer::DuplicatePlatformHandle() {
- return mojo::embedder::DuplicatePlatformHandle(handle_.get());
+ return mojo::edk::DuplicatePlatformHandle(handle_.get());
}
ScopedPlatformHandle SimplePlatformSharedBuffer::PassPlatformHandle() {
@@ -104,5 +104,5 @@ size_t SimplePlatformSharedBufferMapping::GetLength() const {
return length_;
}
-} // namespace embedder
+} // namespace edk
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698