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

Unified Diff: mojo/edk/embedder/platform_channel_utils_posix.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/embedder/platform_channel_utils_posix.h
diff --git a/third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.h b/mojo/edk/embedder/platform_channel_utils_posix.h
similarity index 88%
copy from third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.h
copy to mojo/edk/embedder/platform_channel_utils_posix.h
index 5ec524aae1bad557a4b562e085b4ff0ec9e8dbdb..00e6a16c6334c988f2fc019f67e6008547f3babf 100644
--- a/third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.h
+++ b/mojo/edk/embedder/platform_channel_utils_posix.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_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_
-#define THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_
+#ifndef MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_
+#define MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_
#include <stddef.h>
#include <sys/types.h> // For |ssize_t|.
@@ -11,13 +11,13 @@
#include <deque>
#include "base/memory/scoped_ptr.h"
-#include "third_party/mojo/src/mojo/edk/embedder/platform_handle.h"
-#include "third_party/mojo/src/mojo/edk/system/system_impl_export.h"
+#include "mojo/edk/embedder/platform_handle.h"
+#include "mojo/edk/system/system_impl_export.h"
struct iovec; // Declared in <sys/uio.h>.
namespace mojo {
-namespace embedder {
+namespace edk {
// The maximum number of handles that can be sent "at once" using
// |PlatformChannelSendmsgWithHandles()|.
@@ -70,7 +70,7 @@ PlatformChannelRecvmsg(PlatformHandle h,
size_t num_bytes,
std::deque<PlatformHandle>* platform_handles);
-} // namespace embedder
+} // namespace edk
} // namespace mojo
-#endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_
+#endif // MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_

Powered by Google App Engine
This is Rietveld 408576698