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

Unified Diff: ipc/ipc_sync_message_filter.h

Issue 2349713003: IPC::MessageFilter::OnFilterAdded: IPC::Sender -> IPC::Channel (Closed)
Patch Set: . Created 4 years, 3 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 | « ipc/ipc_sync_channel_unittest.cc ('k') | ipc/ipc_sync_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_message_filter.h
diff --git a/ipc/ipc_sync_message_filter.h b/ipc/ipc_sync_message_filter.h
index f020e7041cffc7b5230d854b58b75b25997038e6..3818ab2a9178821fadc9dff6c099a498ae10ac2b 100644
--- a/ipc/ipc_sync_message_filter.h
+++ b/ipc/ipc_sync_message_filter.h
@@ -33,11 +33,11 @@ class SyncChannel;
// be used to send simultaneous synchronous messages from different threads.
class IPC_EXPORT SyncMessageFilter : public MessageFilter, public Sender {
public:
- // MessageSender implementation.
+ // Sender implementation.
bool Send(Message* message) override;
// MessageFilter implementation.
- void OnFilterAdded(Sender* sender) override;
+ void OnFilterAdded(Channel* channel) override;
void OnChannelError() override;
void OnChannelClosing() override;
bool OnMessageReceived(const Message& message) override;
@@ -60,7 +60,7 @@ class IPC_EXPORT SyncMessageFilter : public MessageFilter, public Sender {
void OnIOMessageLoopDestroyed();
// The channel to which this filter was added.
- Sender* sender_;
+ Channel* channel_;
// The process's main thread.
scoped_refptr<base::SingleThreadTaskRunner> listener_task_runner_;
« no previous file with comments | « ipc/ipc_sync_channel_unittest.cc ('k') | ipc/ipc_sync_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698