Index: ipc/ipc_channel_win.cc |
diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc |
index 9741dda05a13750f486d21f792f0c4aa6b3b7f65..dc2def2fea7e9f29c7deae405a8acc6ab5b60549 100644 |
--- a/ipc/ipc_channel_win.cc |
+++ b/ipc/ipc_channel_win.cc |
@@ -136,6 +136,14 @@ base::ProcessId ChannelWin::GetPeerPID() const { |
return peer_pid_; |
} |
+base::ProcessId ChannelWin::GetSelfPID() const { |
+ return GetCurrentProcessId(); |
+} |
+ |
+ChannelHandle ChannelWin::GetPipeHandle() const { |
+ return ChannelHandle(pipe_); |
+} |
+ |
// static |
bool ChannelWin::IsNamedServerInitialized( |
const std::string& channel_id) { |