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

Unified Diff: services/media/framework_mojo/mojo_formatting.cc

Issue 2006093004: Motown: Convert MediaSink to expose MediaTimelineControlSite (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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: services/media/framework_mojo/mojo_formatting.cc
diff --git a/services/media/framework_mojo/mojo_formatting.cc b/services/media/framework_mojo/mojo_formatting.cc
index 7dfbc86ba5ab8595207dd2e17bb6ffee91fcb3e4..88baa16818663da90fac1cd0fd7eaaa0fa846dd2 100644
--- a/services/media/framework_mojo/mojo_formatting.cc
+++ b/services/media/framework_mojo/mojo_formatting.cc
@@ -384,21 +384,5 @@ const char* StringFromAudioSampleFormat(AudioSampleFormat value) {
return "UNKNOWN FORMAT";
}
-const char* StringFromMediaState(MediaState value) {
- switch (value) {
- case MediaState::FAULT:
- return "FAULT";
- case MediaState::UNPREPARED:
- return "UNPREPARED";
- case MediaState::PAUSED:
- return "PAUSED";
- case MediaState::PLAYING:
- return "PLAYING";
- case MediaState::ENDED:
- return "ENDED";
- }
- return "UNKNOWN MEDIA STATE";
-}
-
} // namespace media
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698