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

Unified Diff: media/midi/midi_manager_mac.h

Issue 151343002: Web MIDI: make naming convention be consistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review boliu #2 Created 6 years, 11 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 | « media/midi/midi_manager_alsa.cc ('k') | media/midi/midi_manager_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_manager_mac.h
diff --git a/media/midi/midi_manager_mac.h b/media/midi/midi_manager_mac.h
index cc8bf74a3c5b3e7b95da4bd3bf39020083a02de0..5b278374a1150c521976f31e33173551d2da4f92 100644
--- a/media/midi/midi_manager_mac.h
+++ b/media/midi/midi_manager_mac.h
@@ -18,14 +18,14 @@
namespace media {
-class MEDIA_EXPORT MIDIManagerMac : public MIDIManager {
+class MEDIA_EXPORT MidiManagerMac : public MidiManager {
public:
- MIDIManagerMac();
- virtual ~MIDIManagerMac();
+ MidiManagerMac();
+ virtual ~MidiManagerMac();
- // MIDIManager implementation.
+ // MidiManager implementation.
virtual bool Initialize() OVERRIDE;
- virtual void DispatchSendMIDIData(MIDIManagerClient* client,
+ virtual void DispatchSendMidiData(MidiManagerClient* client,
uint32 port_index,
const std::vector<uint8>& data,
double timestamp) OVERRIDE;
@@ -34,20 +34,20 @@ class MEDIA_EXPORT MIDIManagerMac : public MIDIManager {
// CoreMIDI callback for MIDI data.
// Each callback can contain multiple packets, each of which can contain
// multiple MIDI messages.
- static void ReadMIDIDispatch(
+ static void ReadMidiDispatch(
const MIDIPacketList *pktlist,
void *read_proc_refcon,
void *src_conn_refcon);
- virtual void ReadMIDI(MIDIEndpointRef source, const MIDIPacketList *pktlist);
+ virtual void ReadMidi(MIDIEndpointRef source, const MIDIPacketList *pktlist);
- // An internal callback that runs on MIDISendThread.
- void SendMIDIData(MIDIManagerClient* client,
+ // An internal callback that runs on MidiSendThread.
+ void SendMidiData(MidiManagerClient* client,
uint32 port_index,
const std::vector<uint8>& data,
double timestamp);
// Helper
- static media::MIDIPortInfo GetPortInfoFromEndpoint(MIDIEndpointRef endpoint);
+ static media::MidiPortInfo GetPortInfoFromEndpoint(MIDIEndpointRef endpoint);
static double MIDITimeStampToSeconds(MIDITimeStamp timestamp);
static MIDITimeStamp SecondsToMIDITimeStamp(double seconds);
@@ -72,7 +72,7 @@ class MEDIA_EXPORT MIDIManagerMac : public MIDIManager {
// |send_thread_| is used to send MIDI data.
base::Thread send_thread_;
- DISALLOW_COPY_AND_ASSIGN(MIDIManagerMac);
+ DISALLOW_COPY_AND_ASSIGN(MidiManagerMac);
};
} // namespace media
« no previous file with comments | « media/midi/midi_manager_alsa.cc ('k') | media/midi/midi_manager_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698