| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SERVICES_MEDIA_FRAMEWORK_MOJO_MOJO_FORMATTING_H_ | 5 #ifndef SERVICES_MEDIA_FRAMEWORK_MOJO_MOJO_FORMATTING_H_ |
| 6 #define SERVICES_MEDIA_FRAMEWORK_MOJO_MOJO_FORMATTING_H_ | 6 #define SERVICES_MEDIA_FRAMEWORK_MOJO_MOJO_FORMATTING_H_ |
| 7 | 7 |
| 8 #include "mojo/services/media/common/interfaces/media_common.mojom.h" | 8 #include "mojo/services/media/common/interfaces/media_common.mojom.h" |
| 9 #include "mojo/services/media/common/interfaces/media_transport.mojom.h" | 9 #include "mojo/services/media/common/interfaces/media_transport.mojom.h" |
| 10 #include "mojo/services/media/common/interfaces/media_types.mojom.h" | 10 #include "mojo/services/media/common/interfaces/media_types.mojom.h" |
| 11 #include "mojo/services/media/common/interfaces/rate_control.mojom.h" | 11 #include "mojo/services/media/common/interfaces/timelines.mojom.h" |
| 12 #include "mojo/services/media/control/interfaces/media_source.mojom.h" | 12 #include "mojo/services/media/control/interfaces/media_source.mojom.h" |
| 13 #include "mojo/services/network/interfaces/network_service.mojom.h" | 13 #include "mojo/services/network/interfaces/network_service.mojom.h" |
| 14 #include "services/media/framework/util/formatting.h" | 14 #include "services/media/framework/util/formatting.h" |
| 15 | 15 |
| 16 namespace mojo { | 16 namespace mojo { |
| 17 namespace media { | 17 namespace media { |
| 18 | 18 |
| 19 // See services/media/framework/ostream.h for details. | 19 // See services/media/framework/ostream.h for details. |
| 20 | 20 |
| 21 // Mojo defines versions of operator<< for this that produce only numbers. | 21 // Mojo defines versions of operator<< for this that produce only numbers. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 43 std::ostream& operator<<(std::ostream& os, | 43 std::ostream& operator<<(std::ostream& os, |
| 44 const TextMediaTypeDetailsPtr& value); | 44 const TextMediaTypeDetailsPtr& value); |
| 45 std::ostream& operator<<(std::ostream& os, | 45 std::ostream& operator<<(std::ostream& os, |
| 46 const TextMediaTypeSetDetailsPtr& value); | 46 const TextMediaTypeSetDetailsPtr& value); |
| 47 std::ostream& operator<<(std::ostream& os, | 47 std::ostream& operator<<(std::ostream& os, |
| 48 const SubpictureMediaTypeDetailsPtr& value); | 48 const SubpictureMediaTypeDetailsPtr& value); |
| 49 std::ostream& operator<<(std::ostream& os, | 49 std::ostream& operator<<(std::ostream& os, |
| 50 const SubpictureMediaTypeSetDetailsPtr& value); | 50 const SubpictureMediaTypeSetDetailsPtr& value); |
| 51 std::ostream& operator<<(std::ostream& os, | 51 std::ostream& operator<<(std::ostream& os, |
| 52 const MediaSourceStreamDescriptorPtr& value); | 52 const MediaSourceStreamDescriptorPtr& value); |
| 53 std::ostream& operator<<(std::ostream& os, const TimelineQuadPtr& value); | |
| 54 std::ostream& operator<<(std::ostream& os, const TimelineTransformPtr& value); | 53 std::ostream& operator<<(std::ostream& os, const TimelineTransformPtr& value); |
| 55 | 54 |
| 56 std::ostream& operator<<(std::ostream& os, const HttpHeaderPtr& value); | 55 std::ostream& operator<<(std::ostream& os, const HttpHeaderPtr& value); |
| 57 std::ostream& operator<<(std::ostream& os, const URLRequestPtr& value); | 56 std::ostream& operator<<(std::ostream& os, const URLRequestPtr& value); |
| 58 std::ostream& operator<<(std::ostream& os, const URLResponsePtr& value); | 57 std::ostream& operator<<(std::ostream& os, const URLResponsePtr& value); |
| 59 std::ostream& operator<<(std::ostream& os, const NetworkErrorPtr& value); | 58 std::ostream& operator<<(std::ostream& os, const NetworkErrorPtr& value); |
| 60 std::ostream& operator<<(std::ostream& os, | 59 std::ostream& operator<<(std::ostream& os, |
| 61 const ScopedDataPipeConsumerHandle& value); | 60 const ScopedDataPipeConsumerHandle& value); |
| 62 | 61 |
| 63 template <typename T> | 62 template <typename T> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 75 os << begl << "[" << index++ << "] " << element; | 74 os << begl << "[" << index++ << "] " << element; |
| 76 } | 75 } |
| 77 | 76 |
| 78 return os; | 77 return os; |
| 79 } | 78 } |
| 80 | 79 |
| 81 } // namespace media | 80 } // namespace media |
| 82 } // namespace mojo | 81 } // namespace mojo |
| 83 | 82 |
| 84 #endif // SERVICES_MEDIA_FRAMEWORK_MOJO_MOJO_FORMATTING_H_ | 83 #endif // SERVICES_MEDIA_FRAMEWORK_MOJO_MOJO_FORMATTING_H_ |
| OLD | NEW |