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

Unified Diff: ipc/ipc_channel_nacl.cc

Issue 2493623002: Remove IPC::Endpoint. (Closed)
Patch Set: Created 4 years, 1 month 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 | « ipc/ipc_channel_nacl.h ('k') | ipc/ipc_channel_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_nacl.cc
diff --git a/ipc/ipc_channel_nacl.cc b/ipc/ipc_channel_nacl.cc
index f54e170af541f4287aae86ecc653ae0c50928fd1..867eb97cb5ad5b65f373d5bb01fc94d10c56038c 100644
--- a/ipc/ipc_channel_nacl.cc
+++ b/ipc/ipc_channel_nacl.cc
@@ -144,12 +144,6 @@ ChannelNacl::~ChannelNacl() {
Close();
}
-base::ProcessId ChannelNacl::GetPeerPID() const {
- // This shouldn't actually get used in the untrusted side of the proxy, and we
- // don't have the real pid anyway.
- return -1;
-}
-
bool ChannelNacl::Connect() {
WillConnect();
@@ -315,7 +309,7 @@ bool ChannelNacl::ProcessOutgoingMessages() {
}
void ChannelNacl::CallOnChannelConnected() {
- listener()->OnChannelConnected(GetPeerPID());
+ listener()->OnChannelConnected(-1);
}
ChannelNacl::ReadState ChannelNacl::ReadData(
@@ -378,12 +372,6 @@ void ChannelNacl::HandleInternalMessage(const Message& msg) {
NOTREACHED();
}
-base::ProcessId ChannelNacl::GetSenderPID() {
- // The untrusted side of the IPC::Channel should never have to worry about
- // sender's process id.
- return base::kNullProcessId;
-}
-
// Channel's methods
// static
« no previous file with comments | « ipc/ipc_channel_nacl.h ('k') | ipc/ipc_channel_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698