Remove INJECT_EVENTS permissions from test APKs.
[chromium-blink-merge.git] / media / midi / midi_result.h
blob5432dca7a1ce51998ac0b30933407f130fba4eba
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
3 // found in the LICENSE file.
5 #ifndef MEDIA_MIDI_MIDI_RESULT_H_
6 #define MEDIA_MIDI_MIDI_RESULT_H_
8 namespace media {
9 namespace midi {
11 // Result codes for MIDI.
12 enum MidiResult {
13 MIDI_NOT_INITIALIZED = -1,
14 MIDI_OK = 0,
15 MIDI_NOT_SUPPORTED,
16 MIDI_INITIALIZATION_ERROR,
18 // |MIDI_RESULT_LAST| is used in content/common/media/midi_messages.h with
19 // IPC_ENUM_TRAITS_MAX_VALUE macro. Keep the value up to date. Otherwise
20 // a new value can not be passed to the renderer.
21 MIDI_RESULT_LAST = MIDI_INITIALIZATION_ERROR,
24 } // namespace midi
25 } // namespace media
27 #endif // MEDIA_MIDI_MIDI_RESULT_H_