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

Unified Diff: services/media/framework/packet.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/models/transform.h ('k') | services/media/framework/packet.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/framework/packet.h
diff --git a/services/media/framework/packet.h b/services/media/framework/packet.h
index 952383ce54a764f0ebc9be394df4f7e5b445c925..6ab125982ca020c9bdae4dab1324596b596e02d0 100644
--- a/services/media/framework/packet.h
+++ b/services/media/framework/packet.h
@@ -36,21 +36,19 @@ class Packet {
// Creates a packet. If size is 0, payload must be nullptr and vice-versa.
// If payload is not nullptr, an allocator must be provided.
- static PacketPtr Create(
- int64_t pts,
- bool end_of_stream,
- size_t size,
- void* payload,
- PayloadAllocator* allocator);
+ static PacketPtr Create(int64_t pts,
+ bool end_of_stream,
+ size_t size,
+ void* payload,
+ PayloadAllocator* allocator);
// Creates a packet. If size is 0, payload must be nullptr and vice-versa.
// No allocator is provided, and the payload will not be released when the
// packet is released.
- static PacketPtr CreateNoAllocator(
- int64_t pts,
- bool end_of_stream,
- size_t size,
- void* payload);
+ static PacketPtr CreateNoAllocator(int64_t pts,
+ bool end_of_stream,
+ size_t size,
+ void* payload);
// Creates an end-of-stream packet with no payload.
static PacketPtr CreateEndOfStream(int64_t pts);
@@ -64,11 +62,7 @@ class Packet {
void* payload() const { return payload_; }
protected:
- Packet(
- int64_t pts,
- bool end_of_stream,
- size_t size,
- void* payload);
+ Packet(int64_t pts, bool end_of_stream, size_t size, void* payload);
virtual ~Packet() {}
@@ -91,4 +85,4 @@ inline void PacketDeleter::operator()(Packet* ptr) const {
} // namespace media
} // namespace mojo
-#endif // SERVICES_MEDIA_FRAMEWORK_PACKET_H_
+#endif // SERVICES_MEDIA_FRAMEWORK_PACKET_H_
« no previous file with comments | « services/media/framework/models/transform.h ('k') | services/media/framework/packet.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698