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

Unified Diff: ipc/ipc_channel_win.cc

Issue 382333002: Introduce ChannelMojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 6 years, 5 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_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) {
« ipc/ipc_channel_proxy.h ('K') | « ipc/ipc_channel_win.h ('k') | ipc/ipc_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698