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

Unified Diff: ipc/ipc_channel_nacl.h

Issue 183553004: Eliminate a potential race in IPC::ChannelProxy (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: merge Created 6 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
« no previous file with comments | « no previous file | ipc/ipc_channel_nacl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_nacl.h
diff --git a/ipc/ipc_channel_nacl.h b/ipc/ipc_channel_nacl.h
index a21730eb81346c918ef37bd5a98549484e176840..29a9d57570fb77a61404f547d41dabbddd9f94d3 100644
--- a/ipc/ipc_channel_nacl.h
+++ b/ipc/ipc_channel_nacl.h
@@ -40,6 +40,7 @@ class Channel::ChannelImpl : public internal::ChannelReader {
virtual ~ChannelImpl();
// Channel implementation.
+ base::ProcessId peer_pid() const;
bool Connect();
void Close();
bool Send(Message* message);
@@ -53,6 +54,7 @@ class Channel::ChannelImpl : public internal::ChannelReader {
bool CreatePipe(const IPC::ChannelHandle& channel_handle);
bool ProcessOutgoingMessages();
+ void CallOnChannelConnected();
// ChannelReader implementation.
virtual ReadState ReadData(char* buffer,
« no previous file with comments | « no previous file | ipc/ipc_channel_nacl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698