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

Unified Diff: media/mojo/common/media_type_converters.cc

Issue 2408063009: media: Use native DecodeStatus in media mojo interfaces (Closed)
Patch Set: 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
« no previous file with comments | « media/mojo/clients/mojo_video_decoder.cc ('k') | media/mojo/interfaces/media_types.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/common/media_type_converters.cc
diff --git a/media/mojo/common/media_type_converters.cc b/media/mojo/common/media_type_converters.cc
index 41cc5f4065b87904a14a6d0a9aa81e07943a7c1e..2293d39f594487ef8fd4ebdeb7b387efa8b4d09f 100644
--- a/media/mojo/common/media_type_converters.cc
+++ b/media/mojo/common/media_type_converters.cc
@@ -47,11 +47,6 @@ namespace mojo {
static_cast<media::media_enum>(media::mojom::media_enum::value), \
"Mismatched enum: " #media_enum #value)
-// DecodeStatus.
-ASSERT_ENUM_CLASS_EQ(DecodeStatus, OK);
-ASSERT_ENUM_CLASS_EQ(DecodeStatus, ABORTED);
-ASSERT_ENUM_CLASS_EQ(DecodeStatus, DECODE_ERROR);
-
// AudioCodec.
ASSERT_ENUM_EQ_RAW(AudioCodec, kUnknownAudioCodec, AudioCodec::UNKNOWN);
ASSERT_ENUM_EQ(AudioCodec, kCodec, , AAC);
« no previous file with comments | « media/mojo/clients/mojo_video_decoder.cc ('k') | media/mojo/interfaces/media_types.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698