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

Unified Diff: mojo/edk/embedder/platform_channel_utils_posix.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/platform_channel_utils_posix.cc
diff --git a/third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.cc b/mojo/edk/embedder/platform_channel_utils_posix.cc
similarity index 98%
copy from third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.cc
copy to mojo/edk/embedder/platform_channel_utils_posix.cc
index 2b2f4c7674af95d34a86de890c93e5adb52245a5..4af45e82c51727bd78adba8d71a1781918d04eb1 100644
--- a/third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.cc
+++ b/mojo/edk/embedder/platform_channel_utils_posix.cc
@@ -2,7 +2,7 @@
// 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/platform_channel_utils_posix.h"
+#include "mojo/edk/embedder/platform_channel_utils_posix.h"
#include <sys/socket.h>
#include <sys/uio.h>
@@ -13,7 +13,7 @@
#include "build/build_config.h"
namespace mojo {
-namespace embedder {
+namespace edk {
// On Linux, |SIGPIPE| is suppressed by passing |MSG_NOSIGNAL| to
// |send()|/|sendmsg()|. (There is no way of suppressing |SIGPIPE| on
@@ -182,5 +182,5 @@ ssize_t PlatformChannelRecvmsg(PlatformHandle h,
return result;
}
-} // namespace embedder
+} // namespace edk
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698