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

Side by Side Diff: net/quic/core/frames/quic_stream_frame.h

Issue 2566703002: Various formatting cleanups to net/quic/core/frames (Closed)
Patch Set: Fix Created 4 years 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
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 NET_QUIC_CORE_FRAMES_QUIC_STREAM_FRAME_H_ 5 #ifndef NET_QUIC_CORE_FRAMES_QUIC_STREAM_FRAME_H_
6 #define NET_QUIC_CORE_FRAMES_QUIC_STREAM_FRAME_H_ 6 #define NET_QUIC_CORE_FRAMES_QUIC_STREAM_FRAME_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <ostream>
9 10
10 #include "base/strings/string_piece.h" 11 #include "base/strings/string_piece.h"
11 #include "net/quic/core/quic_buffer_allocator.h" 12 #include "net/quic/core/quic_buffer_allocator.h"
12 #include "net/quic/core/quic_types.h" 13 #include "net/quic/core/quic_types.h"
13 #include "net/quic/platform/api/quic_export.h" 14 #include "net/quic/platform/api/quic_export.h"
14 15
15 namespace net { 16 namespace net {
16 17
17 // Deleter for stream buffers. Copyable to support platforms where the deleter 18 // Deleter for stream buffers. Copyable to support platforms where the deleter
18 // of a unique_ptr must be copyable. Otherwise it would be nice for this to be 19 // of a unique_ptr must be copyable. Otherwise it would be nice for this to be
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 UniqueStreamBuffer buffer); 72 UniqueStreamBuffer buffer);
72 73
73 DISALLOW_COPY_AND_ASSIGN(QuicStreamFrame); 74 DISALLOW_COPY_AND_ASSIGN(QuicStreamFrame);
74 }; 75 };
75 static_assert(sizeof(QuicStreamFrame) <= 64, 76 static_assert(sizeof(QuicStreamFrame) <= 64,
76 "Keep the QuicStreamFrame size to a cacheline."); 77 "Keep the QuicStreamFrame size to a cacheline.");
77 78
78 } // namespace net 79 } // namespace net
79 80
80 #endif // NET_QUIC_CORE_FRAMES_QUIC_STREAM_FRAME_H_ 81 #endif // NET_QUIC_CORE_FRAMES_QUIC_STREAM_FRAME_H_
OLDNEW
« no previous file with comments | « net/quic/core/frames/quic_stop_waiting_frame.h ('k') | net/quic/core/frames/quic_window_update_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698