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

Side by Side Diff: media/midi/midi_result.h

Issue 1086073004: Web MIDI: namespace change from media to media::midi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@null
Patch Set: (rebase) Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « media/midi/midi_port_info.cc ('k') | media/midi/midi_scheduler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_MIDI_MIDI_RESULT_H_ 5 #ifndef MEDIA_MIDI_MIDI_RESULT_H_
6 #define MEDIA_MIDI_MIDI_RESULT_H_ 6 #define MEDIA_MIDI_MIDI_RESULT_H_
7 7
8 namespace media { 8 namespace media {
9 namespace midi {
9 10
10 // Result codes for MIDI. 11 // Result codes for MIDI.
11 enum MidiResult { 12 enum MidiResult {
12 MIDI_NOT_INITIALIZED = -1, 13 MIDI_NOT_INITIALIZED = -1,
13 MIDI_OK = 0, 14 MIDI_OK = 0,
14 MIDI_NOT_SUPPORTED, 15 MIDI_NOT_SUPPORTED,
15 MIDI_INITIALIZATION_ERROR, 16 MIDI_INITIALIZATION_ERROR,
16 17
17 // |MIDI_RESULT_LAST| is used in content/common/media/midi_messages.h with 18 // |MIDI_RESULT_LAST| is used in content/common/media/midi_messages.h with
18 // IPC_ENUM_TRAITS_MAX_VALUE macro. Keep the value up to date. Otherwise 19 // IPC_ENUM_TRAITS_MAX_VALUE macro. Keep the value up to date. Otherwise
19 // a new value can not be passed to the renderer. 20 // a new value can not be passed to the renderer.
20 MIDI_RESULT_LAST = MIDI_INITIALIZATION_ERROR, 21 MIDI_RESULT_LAST = MIDI_INITIALIZATION_ERROR,
21 }; 22 };
22 23
24 } // namespace midi
23 } // namespace media 25 } // namespace media
24 26
25 #endif // MEDIA_MIDI_MIDI_RESULT_H_ 27 #endif // MEDIA_MIDI_MIDI_RESULT_H_
OLDNEW
« no previous file with comments | « media/midi/midi_port_info.cc ('k') | media/midi/midi_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698