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

Side by Side Diff: net/quic/core/quic_packet_generator.h

Issue 2566473002: Fix include guards for QUIC files. (Closed)
Patch Set: 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
« no previous file with comments | « net/quic/core/quic_packet_creator.h ('k') | net/quic/core/quic_packet_writer.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Responsible for generating packets on behalf of a QuicConnection. 5 // Responsible for generating packets on behalf of a QuicConnection.
6 // Packets are serialized just-in-time. Control frames are queued. 6 // Packets are serialized just-in-time. Control frames are queued.
7 // Ack and Feedback frames will be requested from the Connection 7 // Ack and Feedback frames will be requested from the Connection
8 // just-in-time. When a packet needs to be sent, the Generator 8 // just-in-time. When a packet needs to be sent, the Generator
9 // will serialize a packet and pass it to QuicConnection::SendOrQueuePacket() 9 // will serialize a packet and pass it to QuicConnection::SendOrQueuePacket()
10 // 10 //
(...skipping 19 matching lines...) Expand all
30 // an Ack frame which will then be included in the packet. When 30 // an Ack frame which will then be included in the packet. When
31 // the write call completes, the current packet will be serialized 31 // the write call completes, the current packet will be serialized
32 // and sent to the Delegate, even if it is not full. 32 // and sent to the Delegate, even if it is not full.
33 // 33 //
34 // If the Generator is in batch mode, then each write operation will 34 // If the Generator is in batch mode, then each write operation will
35 // add data to the "current" packet. When the current packet becomes 35 // add data to the "current" packet. When the current packet becomes
36 // full, it will be serialized and sent to the packet. When batch 36 // full, it will be serialized and sent to the packet. When batch
37 // mode is ended via |FinishBatchOperations|, the current packet 37 // mode is ended via |FinishBatchOperations|, the current packet
38 // will be serialzied, even if it is not full. 38 // will be serialzied, even if it is not full.
39 39
40 #ifndef NET_QUIC_QUIC_PACKET_GENERATOR_H_ 40 #ifndef NET_QUIC_CORE_QUIC_PACKET_GENERATOR_H_
41 #define NET_QUIC_QUIC_PACKET_GENERATOR_H_ 41 #define NET_QUIC_CORE_QUIC_PACKET_GENERATOR_H_
42 42
43 #include <stddef.h> 43 #include <stddef.h>
44 #include <stdint.h> 44 #include <stdint.h>
45 45
46 #include <list> 46 #include <list>
47 47
48 #include "base/macros.h" 48 #include "base/macros.h"
49 #include "net/base/net_export.h" 49 #include "net/base/net_export.h"
50 #include "net/quic/core/quic_packet_creator.h" 50 #include "net/quic/core/quic_packet_creator.h"
51 #include "net/quic/core/quic_pending_retransmission.h" 51 #include "net/quic/core/quic_pending_retransmission.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // a reference to it until we flush (and serialize it). Retransmittable frames 210 // a reference to it until we flush (and serialize it). Retransmittable frames
211 // are referenced elsewhere so that they can later be (optionally) 211 // are referenced elsewhere so that they can later be (optionally)
212 // retransmitted. 212 // retransmitted.
213 QuicStopWaitingFrame pending_stop_waiting_frame_; 213 QuicStopWaitingFrame pending_stop_waiting_frame_;
214 214
215 DISALLOW_COPY_AND_ASSIGN(QuicPacketGenerator); 215 DISALLOW_COPY_AND_ASSIGN(QuicPacketGenerator);
216 }; 216 };
217 217
218 } // namespace net 218 } // namespace net
219 219
220 #endif // NET_QUIC_QUIC_PACKET_GENERATOR_H_ 220 #endif // NET_QUIC_CORE_QUIC_PACKET_GENERATOR_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_packet_creator.h ('k') | net/quic/core/quic_packet_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698