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

Unified Diff: content/renderer/media/midi_message_filter.h

Issue 343593006: Revert 276939 "Decouple IPC::MessageFilter from IPC::Channel" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2057/src/
Patch Set: Created 6 years, 6 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 | « content/renderer/media/audio_message_filter.cc ('k') | content/renderer/media/midi_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/midi_message_filter.h
===================================================================
--- content/renderer/media/midi_message_filter.h (revision 278168)
+++ content/renderer/media/midi_message_filter.h (working copy)
@@ -50,12 +50,12 @@
virtual ~MidiMessageFilter();
private:
- // Sends an IPC message using |sender_|.
+ // Sends an IPC message using |channel_|.
void Send(IPC::Message* message);
// IPC::MessageFilter override. Called on |io_message_loop|.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- virtual void OnFilterAdded(IPC::Sender* sender) OVERRIDE;
+ virtual void OnFilterAdded(IPC::Channel* channel) OVERRIDE;
virtual void OnFilterRemoved() OVERRIDE;
virtual void OnChannelClosing() OVERRIDE;
@@ -94,8 +94,8 @@
blink::WebMIDIAccessorClient* GetClientFromId(int client_id);
- // IPC sender for Send(); must only be accessed on |io_message_loop_|.
- IPC::Sender* sender_;
+ // IPC channel for Send(); must only be accessed on |io_message_loop_|.
+ IPC::Channel* channel_;
// Message loop on which IPC calls are driven.
const scoped_refptr<base::MessageLoopProxy> io_message_loop_;
« no previous file with comments | « content/renderer/media/audio_message_filter.cc ('k') | content/renderer/media/midi_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698