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

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

Issue 1902183002: Motown: Change media type (stream type) representation (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Changes per review feedback. Created 4 years, 8 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 | « services/media/framework_mojo/BUILD.gn ('k') | services/media/framework_mojo/mojo_formatting.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/framework_mojo/mojo_formatting.h
diff --git a/services/media/framework_mojo/mojo_formatting.h b/services/media/framework_mojo/mojo_formatting.h
index 5bc83ce07850113a6e1f742b8956aa1001bc5951..262deebc17d72ffa40bde2cfd3796aa9af7ef7ec 100644
--- a/services/media/framework_mojo/mojo_formatting.h
+++ b/services/media/framework_mojo/mojo_formatting.h
@@ -19,10 +19,8 @@ namespace media {
// See services/media/framework/ostream.h for details.
// Mojo defines versions of operator<< for this that produce only numbers.
-const char* StringFromMediaTypeScheme(MediaTypeScheme value);
-const char* StringFromLpcmSampleFormat(LpcmSampleFormat value);
-const char* StringFromAudioEncoding(AudioEncoding value);
-const char* StringFromVideoEncoding(VideoEncoding value);
+const char* StringFromMediaTypeMedium(MediaTypeMedium value);
+const char* StringFromAudioSampleFormat(AudioSampleFormat value);
const char* StringFromMediaState(MediaState value);
// The following overloads add newlines.
@@ -35,21 +33,21 @@ std::ostream& operator<<(std::ostream& os, const MediaTypeSetPtr& value);
std::ostream& operator<<(std::ostream& os, const MediaTypeDetailsPtr& value);
std::ostream& operator<<(std::ostream& os, const MediaTypeSetDetailsPtr& value);
std::ostream& operator<<(std::ostream& os,
- const MultiplexedMediaTypeDetailsPtr& value);
+ const AudioMediaTypeDetailsPtr& value);
std::ostream& operator<<(std::ostream& os,
- const MultiplexedMediaTypeSetDetailsPtr& value);
+ const AudioMediaTypeSetDetailsPtr& value);
std::ostream& operator<<(std::ostream& os,
- const LpcmMediaTypeDetailsPtr& value);
+ const VideoMediaTypeDetailsPtr& value);
std::ostream& operator<<(std::ostream& os,
- const LpcmMediaTypeSetDetailsPtr& value);
+ const VideoMediaTypeSetDetailsPtr& value);
std::ostream& operator<<(std::ostream& os,
- const CompressedAudioMediaTypeDetailsPtr& value);
+ const TextMediaTypeDetailsPtr& value);
std::ostream& operator<<(std::ostream& os,
- const CompressedAudioMediaTypeSetDetailsPtr& value);
+ const TextMediaTypeSetDetailsPtr& value);
std::ostream& operator<<(std::ostream& os,
- const VideoMediaTypeDetailsPtr& value);
+ const SubpictureMediaTypeDetailsPtr& value);
std::ostream& operator<<(std::ostream& os,
- const VideoMediaTypeSetDetailsPtr& value);
+ const SubpictureMediaTypeSetDetailsPtr& value);
std::ostream& operator<<(std::ostream& os,
const MediaSourceStreamDescriptorPtr& value);
std::ostream& operator<<(std::ostream& os, const TimelineQuadPtr& value);
« no previous file with comments | « services/media/framework_mojo/BUILD.gn ('k') | services/media/framework_mojo/mojo_formatting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698