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

Unified Diff: ipc/ipc_channel_nacl.cc

Issue 382333002: Introduce ChannelMojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: ipc/ipc_channel_nacl.cc
diff --git a/ipc/ipc_channel_nacl.cc b/ipc/ipc_channel_nacl.cc
index 0928ba633057a48cde02aacdb6123b4aee840bd6..704f7d88d4267023e18af0f7c5d71e57405198cb 100644
--- a/ipc/ipc_channel_nacl.cc
+++ b/ipc/ipc_channel_nacl.cc
@@ -145,6 +145,15 @@ base::ProcessId ChannelNacl::GetPeerPID() const {
return -1;
}
+base::ProcessId ChannelNacl::GetSelfPID() const {
+ return -1;
+}
+
+ChannelHandle ChannelNacl::TakePipeHandle() {
+ // NACL doesn't have any platform-level handles.
+ return ChannelHandle();
+}
+
bool ChannelNacl::Connect() {
if (pipe_ == -1) {
DLOG(WARNING) << "Channel creation failed: " << pipe_name_;
« ipc/ipc_channel.h ('K') | « ipc/ipc_channel_nacl.h ('k') | ipc/ipc_channel_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698