| Index: content/renderer/media/midi_message_filter.h
|
| diff --git a/content/renderer/media/midi_message_filter.h b/content/renderer/media/midi_message_filter.h
|
| index c2e66ae4d0cd370ddbe16d36bc036cf7c3f1bd7b..c7a4441555f97240aa9e6a62dfc72d185bec2398 100644
|
| --- a/content/renderer/media/midi_message_filter.h
|
| +++ b/content/renderer/media/midi_message_filter.h
|
| @@ -21,10 +21,10 @@ class MessageLoopProxy;
|
| namespace content {
|
|
|
| // MessageFilter that handles MIDI messages.
|
| -class CONTENT_EXPORT MIDIMessageFilter
|
| +class CONTENT_EXPORT MidiMessageFilter
|
| : public IPC::ChannelProxy::MessageFilter {
|
| public:
|
| - explicit MIDIMessageFilter(
|
| + explicit MidiMessageFilter(
|
| const scoped_refptr<base::MessageLoopProxy>& io_message_loop);
|
|
|
| // Each client registers for MIDI access here.
|
| @@ -36,7 +36,7 @@ class CONTENT_EXPORT MIDIMessageFilter
|
|
|
| // A client will only be able to call this method if it has a suitable
|
| // output port (from addOutputPort()).
|
| - void SendMIDIData(uint32 port,
|
| + void SendMidiData(uint32 port,
|
| const uint8* data,
|
| size_t length,
|
| double timestamp);
|
| @@ -47,7 +47,7 @@ class CONTENT_EXPORT MIDIMessageFilter
|
| }
|
|
|
| protected:
|
| - virtual ~MIDIMessageFilter();
|
| + virtual ~MidiMessageFilter();
|
|
|
| private:
|
| // Sends an IPC message using |channel_|.
|
| @@ -63,8 +63,8 @@ class CONTENT_EXPORT MIDIMessageFilter
|
| // MIDI hardware.
|
| void OnSessionStarted(int client_id,
|
| bool success,
|
| - media::MIDIPortInfoList inputs,
|
| - media::MIDIPortInfoList outputs);
|
| + media::MidiPortInfoList inputs,
|
| + media::MidiPortInfoList outputs);
|
|
|
| // Called when the browser process has sent MIDI data containing one or
|
| // more messages.
|
| @@ -79,8 +79,8 @@ class CONTENT_EXPORT MIDIMessageFilter
|
|
|
| void HandleSessionStarted(int client_id,
|
| bool success,
|
| - media::MIDIPortInfoList inputs,
|
| - media::MIDIPortInfoList outputs);
|
| + media::MidiPortInfoList inputs,
|
| + media::MidiPortInfoList outputs);
|
|
|
| void HandleDataReceived(uint32 port,
|
| const std::vector<uint8>& data,
|
| @@ -88,7 +88,7 @@ class CONTENT_EXPORT MIDIMessageFilter
|
|
|
| void StartSessionOnIOThread(int client_id);
|
|
|
| - void SendMIDIDataOnIOThread(uint32 port,
|
| + void SendMidiDataOnIOThread(uint32 port,
|
| const std::vector<uint8>& data,
|
| double timestamp);
|
|
|
| @@ -115,7 +115,7 @@ class CONTENT_EXPORT MIDIMessageFilter
|
|
|
| size_t unacknowledged_bytes_sent_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(MIDIMessageFilter);
|
| + DISALLOW_COPY_AND_ASSIGN(MidiMessageFilter);
|
| };
|
|
|
| } // namespace content
|
|
|