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

Unified Diff: ipc/ipc_channel_proxy.h

Issue 9968111: Make IPC channels track their peer process ID (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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_proxy.h
===================================================================
--- ipc/ipc_channel_proxy.h (revision 130443)
+++ ipc/ipc_channel_proxy.h (working copy)
@@ -168,6 +168,8 @@
// Called to clear the pointer to the IPC message loop when it's going away.
void ClearIPCMessageLoop();
+ base::ProcessId peer_pid() const;
Tom Sepez 2012/04/04 19:07:07 include what you use?
jschuh 2012/04/04 21:05:13 Done.
+
#if defined(OS_POSIX)
// Calls through to the underlying channel's methods.
int GetClientFileDescriptor();
@@ -246,7 +248,6 @@
scoped_refptr<base::MessageLoopProxy> ipc_message_loop_;
scoped_ptr<Channel> channel_;
std::string channel_id_;
- int peer_pid_;
bool channel_connected_called_;
// Holds filters between the AddFilter call on the listerner thread and the

Powered by Google App Engine
This is Rietveld 408576698