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

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

Issue 2386443002: media: Use native BufferingState in media mojo interfaces (Closed)
Patch Set: media: Use native media enums in media mojo interfaces 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_renderer_unittest.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 ab794b14211b5984c5e319a353bfc1cc8c9d9dac..8e8051cf6632aba81da87c58ea1375d7dcb22728 100644
--- a/media/mojo/common/media_type_converters.cc
+++ b/media/mojo/common/media_type_converters.cc
@@ -11,7 +11,6 @@
#include "base/numerics/safe_conversions.h"
#include "media/base/audio_buffer.h"
#include "media/base/audio_decoder_config.h"
-#include "media/base/buffering_state.h"
#include "media/base/cdm_config.h"
#include "media/base/cdm_key_information.h"
#include "media/base/decode_status.h"
@@ -48,10 +47,6 @@ namespace mojo {
static_cast<media::media_enum>(media::mojom::media_enum::value), \
"Mismatched enum: " #media_enum #value)
-// BufferingState.
-ASSERT_ENUM_EQ(BufferingState, BUFFERING_, , HAVE_NOTHING);
-ASSERT_ENUM_EQ(BufferingState, BUFFERING_, , HAVE_ENOUGH);
-
// DecodeStatus.
ASSERT_ENUM_CLASS_EQ(DecodeStatus, OK);
ASSERT_ENUM_CLASS_EQ(DecodeStatus, ABORTED);
« no previous file with comments | « media/mojo/clients/mojo_renderer_unittest.cc ('k') | media/mojo/interfaces/media_types.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698