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

Unified Diff: media/midi/midi_message_queue.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_win.cc ('k') | media/midi/midi_message_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_message_queue.h
diff --git a/media/midi/midi_message_queue.h b/media/midi/midi_message_queue.h
index 06f0f4787fb6002d82ba00ed1f4e9be0043beb3e..f565f1882934357dcaf3013bcc6f03661fa9e0bb 100644
--- a/media/midi/midi_message_queue.h
+++ b/media/midi/midi_message_queue.h
@@ -24,7 +24,7 @@ namespace media {
// MIDI status byte is abbreviated (a.k.a. "running status").
//
// Example (pseudo message loop):
-// MIDIMessageQueue queue(true); // true to support "running status"
+// MidiMessageQueue queue(true); // true to support "running status"
// while (true) {
// if (is_incoming_midi_data_available()) {
// std::vector<uint8> incoming_data;
@@ -38,12 +38,12 @@ namespace media {
// dispatch(next_message);
// }
// }
-class MEDIA_EXPORT MIDIMessageQueue {
+class MEDIA_EXPORT MidiMessageQueue {
public:
// Initializes the queue. Set true to |allow_running_status| to enable
// "MIDI running status" reconstruction.
- explicit MIDIMessageQueue(bool allow_running_status);
- ~MIDIMessageQueue();
+ explicit MidiMessageQueue(bool allow_running_status);
+ ~MidiMessageQueue();
// Enqueues |data| to the internal buffer.
void Add(const std::vector<uint8>& data);
@@ -64,7 +64,7 @@ class MEDIA_EXPORT MIDIMessageQueue {
std::deque<uint8> queue_;
std::vector<uint8> next_message_;
const bool allow_running_status_;
- DISALLOW_COPY_AND_ASSIGN(MIDIMessageQueue);
+ DISALLOW_COPY_AND_ASSIGN(MidiMessageQueue);
};
} // namespace media
« no previous file with comments | « media/midi/midi_manager_win.cc ('k') | media/midi/midi_message_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698