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

Unified Diff: media/midi/result.h

Issue 2404443002: Web MIDI: use midi_service.mojom for media::midi::Result (Closed)
Patch Set: yhirano@ review Created 4 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
Index: media/midi/result.h
diff --git a/media/midi/result.h b/media/midi/result.h
deleted file mode 100644
index 961adbc70b892475cedb5545ff3b02350f3da16a..0000000000000000000000000000000000000000
--- a/media/midi/result.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2015 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_RESULT_H_
-#define MEDIA_MIDI_RESULT_H_
-
-namespace midi {
-
-// Result codes for MIDI.
-enum class Result {
- NOT_INITIALIZED = 0,
- OK,
- NOT_SUPPORTED,
- INITIALIZATION_ERROR,
- // New code should be inserted here so that existing members keep the same
- // assigned value. tools/metrics/histograms/histograms.xml contains Result
- // enum entry, and it should be consistent with enum class Result.
-
- // |MAX| 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.
- MAX = INITIALIZATION_ERROR,
-};
-
-} // namespace midi
-
-#endif // MEDIA_MIDI_RESULT_H_

Powered by Google App Engine
This is Rietveld 408576698