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

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

Issue 1822333002: Motown: wholesale clang-format (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: dalesat Created 4 years, 9 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/mojo_consumer.cc ('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 2755a8bfd59886221c2b43cd89b643b601c4bbbe..e0270a1582394a4055ec36aacacec5f7d1a9de49 100644
--- a/services/media/framework_mojo/mojo_formatting.h
+++ b/services/media/framework_mojo/mojo_formatting.h
@@ -26,15 +26,15 @@ const char* StringFromMediaState(MediaState value);
// The following overloads add newlines.
-template<typename T>
+template <typename T>
std::ostream& operator<<(std::ostream& os, const InterfacePtr<T>& value);
-template<typename T>
+template <typename T>
std::ostream& operator<<(std::ostream& os, const Array<T>& value) {
if (!value) {
return os << "<nullptr>" << std::endl;
} else if (value.size() == 0) {
- return os << "<empty>" << std::endl;
+ return os << "<empty>" << std::endl;
} else {
os << std::endl;
}
@@ -51,41 +51,28 @@ std::ostream& operator<<(std::ostream& os, const MediaTypePtr& value);
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);
-std::ostream& operator<<(
- std::ostream& os,
- const MultiplexedMediaTypeSetDetailsPtr& value);
-std::ostream& operator<<(
- std::ostream& os,
- const LpcmMediaTypeDetailsPtr& value);
-std::ostream& operator<<(
- std::ostream& os,
- const LpcmMediaTypeSetDetailsPtr& value);
-std::ostream& operator<<(
- std::ostream& os,
- const CompressedAudioMediaTypeDetailsPtr& value);
-std::ostream& operator<<(
- std::ostream& os,
- const CompressedAudioMediaTypeSetDetailsPtr& value);
-std::ostream& operator<<(
- std::ostream& os,
- const VideoMediaTypeDetailsPtr& value);
-std::ostream& operator<<(
- std::ostream& os,
- const VideoMediaTypeSetDetailsPtr& value);
-std::ostream& operator<<(
- std::ostream& os,
- const MediaSourceStreamDescriptorPtr& value);
-std::ostream& operator<<(
- std::ostream& os,
- const TimelineQuadPtr& value);
-std::ostream& operator<<(
- std::ostream& os,
- const TimelineTransformPtr& value);
+std::ostream& operator<<(std::ostream& os,
+ const MultiplexedMediaTypeDetailsPtr& value);
+std::ostream& operator<<(std::ostream& os,
+ const MultiplexedMediaTypeSetDetailsPtr& value);
+std::ostream& operator<<(std::ostream& os,
+ const LpcmMediaTypeDetailsPtr& value);
+std::ostream& operator<<(std::ostream& os,
+ const LpcmMediaTypeSetDetailsPtr& value);
+std::ostream& operator<<(std::ostream& os,
+ const CompressedAudioMediaTypeDetailsPtr& value);
+std::ostream& operator<<(std::ostream& os,
+ const CompressedAudioMediaTypeSetDetailsPtr& value);
+std::ostream& operator<<(std::ostream& os,
+ const VideoMediaTypeDetailsPtr& value);
+std::ostream& operator<<(std::ostream& os,
+ const VideoMediaTypeSetDetailsPtr& value);
+std::ostream& operator<<(std::ostream& os,
+ const MediaSourceStreamDescriptorPtr& value);
+std::ostream& operator<<(std::ostream& os, const TimelineQuadPtr& value);
+std::ostream& operator<<(std::ostream& os, const TimelineTransformPtr& value);
-} // namespace media
-} // namespace mojo
+} // namespace media
+} // namespace mojo
-#endif // SERVICES_MEDIA_FRAMEWORK_MOJO_MOJO_FORMATTING_H_
+#endif // SERVICES_MEDIA_FRAMEWORK_MOJO_MOJO_FORMATTING_H_
« no previous file with comments | « services/media/framework_mojo/mojo_consumer.cc ('k') | services/media/framework_mojo/mojo_formatting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698