summaryrefslogtreecommitdiffstats
path: root/ipc/mojo/ipc_message_pipe_reader.h
diff options
context:
space:
mode:
authortsergeant <tsergeant@chromium.org>2016-03-09 19:51:33 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-10 03:53:03 +0000
commit896012863947ba511c55ce7c65aa1002cd3894eb (patch)
tree81614102d853a7d1fc16e207083905ece2ae14e3 /ipc/mojo/ipc_message_pipe_reader.h
parent4819f8b1cfab20b5598d5426ff48dbeae1b1955a (diff)
downloadchromium_src-896012863947ba511c55ce7c65aa1002cd3894eb.zip
chromium_src-896012863947ba511c55ce7c65aa1002cd3894eb.tar.gz
chromium_src-896012863947ba511c55ce7c65aa1002cd3894eb.tar.bz2
Revert of Fix failing tests with ChannelMojo enabled. (patchset #3 id:300001 of https://codereview.chromium.org/1768903002/ )
Reason for revert: This CL is causing failures in ipc_mojo_unittests. See: https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%281%29/builds/52715 https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%281%29%2832%29/builds/26588 Original issue's description: > Fix failing tests with ChannelMojo enabled. > > This ChannelMojo to: > - take a ScopedMessagePipeHandle instead of a string token so an > in-process renderer can be passed the message pipe directly; > - send brokered attachments as mojo handles; and > - offer messages to AttachmentBroker. > > This also fixes and re-enables ipc_channel_mojo_unittest.cc. > > BUG=579813 > > Committed: https://crrev.com/013cfed7ecf91b0700bec7147631d4fbedb6b64e > Cr-Commit-Position: refs/heads/master@{#380294} TBR=rockot@chromium.org,tsepez@chromium.org,ben@chromium.org,sammc@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=579813 Review URL: https://codereview.chromium.org/1784773002 Cr-Commit-Position: refs/heads/master@{#380325}
Diffstat (limited to 'ipc/mojo/ipc_message_pipe_reader.h')
-rw-r--r--ipc/mojo/ipc_message_pipe_reader.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/ipc/mojo/ipc_message_pipe_reader.h b/ipc/mojo/ipc_message_pipe_reader.h
index 75fe7ad..38ca6a8 100644
--- a/ipc/mojo/ipc_message_pipe_reader.h
+++ b/ipc/mojo/ipc_message_pipe_reader.h
@@ -71,7 +71,6 @@ class MessagePipeReader : public mojom::Channel {
// Note that MessagePipeReader doesn't delete |delegate|.
MessagePipeReader(mojom::ChannelAssociatedPtr sender,
mojo::AssociatedInterfaceRequest<mojom::Channel> receiver,
- base::ProcessId peer_pid,
Delegate* delegate);
~MessagePipeReader() override;
@@ -85,8 +84,6 @@ class MessagePipeReader : public mojom::Channel {
bool Send(scoped_ptr<Message> message);
- base::ProcessId GetPeerPid() const { return peer_pid_; }
-
protected:
void OnPipeClosed();
void OnPipeError(MojoResult error);
@@ -96,7 +93,6 @@ class MessagePipeReader : public mojom::Channel {
// |delegate_| is null once the message pipe is closed.
Delegate* delegate_;
- base::ProcessId peer_pid_;
mojom::ChannelAssociatedPtr sender_;
mojo::AssociatedBinding<mojom::Channel> binding_;
base::ThreadChecker thread_checker_;