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

Unified Diff: media/midi/midi_result.h

Issue 1217853007: Web MIDI: add a new UMA entry for the final result code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add UMA Created 5 years, 5 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
Index: media/midi/midi_result.h
diff --git a/media/midi/midi_result.h b/media/midi/midi_result.h
deleted file mode 100644
index 5432dca7a1ce51998ac0b30933407f130fba4eba..0000000000000000000000000000000000000000
--- a/media/midi/midi_result.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_MIDI_MIDI_RESULT_H_
-#define MEDIA_MIDI_MIDI_RESULT_H_
-
-namespace media {
-namespace midi {
-
-// Result codes for MIDI.
-enum MidiResult {
- MIDI_NOT_INITIALIZED = -1,
- MIDI_OK = 0,
- MIDI_NOT_SUPPORTED,
- MIDI_INITIALIZATION_ERROR,
-
- // |MIDI_RESULT_LAST| is used in content/common/media/midi_messages.h with
- // IPC_ENUM_TRAITS_MAX_VALUE macro. Keep the value up to date. Otherwise
- // a new value can not be passed to the renderer.
- MIDI_RESULT_LAST = MIDI_INITIALIZATION_ERROR,
-};
-
-} // namespace midi
-} // namespace media
-
-#endif // MEDIA_MIDI_MIDI_RESULT_H_

Powered by Google App Engine
This is Rietveld 408576698