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

Side by Side Diff: services/media/framework/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 unified diff | Download patch
« no previous file with comments | « services/media/framework/engine.cc ('k') | services/media/framework/formatting.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_FORMATTING_H_ 5 #ifndef SERVICES_MEDIA_FRAMEWORK_FORMATTING_H_
6 #define SERVICES_MEDIA_FRAMEWORK_FORMATTING_H_ 6 #define SERVICES_MEDIA_FRAMEWORK_FORMATTING_H_
7 7
8 #include <ostream> 8 #include <ostream>
9 9
10 #include "services/media/framework/models/demand.h" 10 #include "services/media/framework/models/demand.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 return os; 45 return os;
46 } 46 }
47 47
48 // The following overloads don't add newlines. 48 // The following overloads don't add newlines.
49 49
50 std::ostream& operator<<(std::ostream& os, Result value); 50 std::ostream& operator<<(std::ostream& os, Result value);
51 std::ostream& operator<<(std::ostream& os, Demand value); 51 std::ostream& operator<<(std::ostream& os, Demand value);
52 std::ostream& operator<<(std::ostream& os, const PacketPtr& value); 52 std::ostream& operator<<(std::ostream& os, const PacketPtr& value);
53 std::ostream& operator<<(std::ostream& os, StreamType::Scheme value); 53 std::ostream& operator<<(std::ostream& os, StreamType::Scheme value);
54 std::ostream& operator<<(std::ostream& os, LpcmStreamType::SampleFormat value); 54 std::ostream& operator<<(std::ostream& os, LpcmStreamType::SampleFormat value);
55 std::ostream& operator<<( 55 std::ostream& operator<<(std::ostream& os,
56 std::ostream& os, 56 CompressedAudioStreamType::AudioEncoding value);
57 CompressedAudioStreamType::AudioEncoding value); 57 std::ostream& operator<<(std::ostream& os,
58 std::ostream& operator<<( 58 VideoStreamType::VideoEncoding value);
59 std::ostream& os,
60 VideoStreamType::VideoEncoding value);
61 std::ostream& operator<<(std::ostream& os, VideoStreamType::VideoProfile value); 59 std::ostream& operator<<(std::ostream& os, VideoStreamType::VideoProfile value);
62 std::ostream& operator<<(std::ostream& os, VideoStreamType::PixelFormat value); 60 std::ostream& operator<<(std::ostream& os, VideoStreamType::PixelFormat value);
63 std::ostream& operator<<(std::ostream& os, VideoStreamType::ColorSpace value); 61 std::ostream& operator<<(std::ostream& os, VideoStreamType::ColorSpace value);
64 std::ostream& operator<<(std::ostream& os, const std::unique_ptr<Bytes>& value); 62 std::ostream& operator<<(std::ostream& os, const std::unique_ptr<Bytes>& value);
65 63
66 template<typename T> 64 template <typename T>
67 std::ostream& operator<<(std::ostream& os, Range<T> value) { 65 std::ostream& operator<<(std::ostream& os, Range<T> value) {
68 return os << value.min << ".." << value.max; 66 return os << value.min << ".." << value.max;
69 } 67 }
70 68
71 std::ostream& operator<<(std::ostream& os, Range<bool> value); 69 std::ostream& operator<<(std::ostream& os, Range<bool> value);
72 70
73 // The following overloads add newlines. 71 // The following overloads add newlines.
74 72
75 std::ostream& operator<<( 73 std::ostream& operator<<(std::ostream& os,
76 std::ostream& os, 74 const std::unique_ptr<StreamType>& value);
77 const std::unique_ptr<StreamType>& value); 75 std::ostream& operator<<(std::ostream& os,
78 std::ostream& operator<<( 76 const std::unique_ptr<StreamTypeSet>& value);
79 std::ostream& os,
80 const std::unique_ptr<StreamTypeSet>& value);
81 std::ostream& operator<<( 77 std::ostream& operator<<(
82 std::ostream& os, 78 std::ostream& os,
83 const std::unique_ptr<std::vector<std::unique_ptr<StreamType>>>& value); 79 const std::unique_ptr<std::vector<std::unique_ptr<StreamType>>>& value);
84 std::ostream& operator<<( 80 std::ostream& operator<<(
85 std::ostream& os, 81 std::ostream& os,
86 const std::unique_ptr<std::vector<std::unique_ptr<StreamTypeSet>>>& value); 82 const std::unique_ptr<std::vector<std::unique_ptr<StreamTypeSet>>>& value);
87 83
88 } // namespace media 84 } // namespace media
89 } // namespace mojo 85 } // namespace mojo
90 86
91 #endif // SERVICES_MEDIA_FRAMEWORK_FORMATTING_H_ 87 #endif // SERVICES_MEDIA_FRAMEWORK_FORMATTING_H_
OLDNEW
« no previous file with comments | « services/media/framework/engine.cc ('k') | services/media/framework/formatting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698