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

Unified Diff: mojo/edk/embedder/simple_platform_support.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, 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/embedder/simple_platform_support.cc
diff --git a/third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc b/mojo/edk/embedder/simple_platform_support.cc
similarity index 79%
copy from third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc
copy to mojo/edk/embedder/simple_platform_support.cc
index 7a83783ad2bee045435643bdda8204ef0b449cc4..814cd68896a82772f2ab2f495886d6b5fb82ccd2 100644
--- a/third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc
+++ b/mojo/edk/embedder/simple_platform_support.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_support.h"
+#include "mojo/edk/embedder/simple_platform_support.h"
#include "base/rand_util.h"
-#include "third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer.h"
+#include "mojo/edk/embedder/simple_platform_shared_buffer.h"
namespace mojo {
-namespace embedder {
+namespace edk {
void SimplePlatformSupport::GetCryptoRandomBytes(void* bytes,
size_t num_bytes) {
@@ -27,5 +27,5 @@ PlatformSharedBuffer* SimplePlatformSupport::CreateSharedBufferFromHandle(
num_bytes, platform_handle.Pass());
}
-} // namespace embedder
+} // namespace edk
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698