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

Unified Diff: media/midi/midi_result.h

Issue 662853003: Manage MIDI related objects and sessions' lifecycles correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unittest Created 6 years, 2 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
« media/midi/midi_manager.cc ('K') | « media/midi/midi_manager_usb_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_result.h
diff --git a/media/midi/midi_result.h b/media/midi/midi_result.h
index 1e1040161438f1e6a0157ff6b77d2d8daa8bd14a..2fb58a41bddc8afd964c47455ed959868ab25247 100644
--- a/media/midi/midi_result.h
+++ b/media/midi/midi_result.h
@@ -9,7 +9,8 @@ namespace media {
// Result codes for MIDI.
enum MidiResult {
- MIDI_OK,
+ MIDI_NOT_INITIALIZED = -1,
+ MIDI_OK = 0,
MIDI_NOT_SUPPORTED,
MIDI_INITIALIZATION_ERROR,
« media/midi/midi_manager.cc ('K') | « media/midi/midi_manager_usb_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698