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

Side by Side Diff: net/quic/quic_connection.h

Issue 1036303003: Various formatting changes to shared QUIC server code found while syning with internal version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | net/quic/quic_dispatcher.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 // The entity that handles framing writes for a Quic client or server. 5 // The entity that handles framing writes for a Quic client or server.
6 // Each QuicSession will have a connection associated with it. 6 // Each QuicSession will have a connection associated with it.
7 // 7 //
8 // On the server side, the Dispatcher handles the raw reads, and hands off 8 // On the server side, the Dispatcher handles the raw reads, and hands off
9 // packets via ProcessUdpPacket for framing and processing. 9 // packets via ProcessUdpPacket for framing and processing.
10 // 10 //
11 // On the client side, the Connection handles the raw reads, as well as the 11 // On the client side, the Connection handles the raw reads, as well as the
12 // processing. 12 // processing.
13 // 13 //
14 // Note: this class is not thread-safe. 14 // Note: this class is not thread-safe.
15 15
16 #ifndef NET_QUIC_QUIC_CONNECTION_H_ 16 #ifndef NET_QUIC_QUIC_CONNECTION_H_
17 #define NET_QUIC_QUIC_CONNECTION_H_ 17 #define NET_QUIC_QUIC_CONNECTION_H_
18 18
19 #include <stddef.h> 19 #include <stddef.h>
20 #include <deque> 20 #include <deque>
21 #include <list> 21 #include <list>
22 #include <map> 22 #include <map>
23 #include <queue> 23 #include <queue>
24 #include <string> 24 #include <string>
25 #include <vector> 25 #include <vector>
26 26
27 #include "base/basictypes.h" 27 #include "base/basictypes.h"
28 #include "base/logging.h" 28 #include "base/logging.h"
29 #include "net/base/iovec.h" 29 #include "base/memory/scoped_ptr.h"
30 #include "base/strings/string_piece.h"
30 #include "net/base/ip_endpoint.h" 31 #include "net/base/ip_endpoint.h"
31 #include "net/quic/iovector.h" 32 #include "net/quic/iovector.h"
32 #include "net/quic/quic_ack_notifier.h" 33 #include "net/quic/quic_ack_notifier.h"
33 #include "net/quic/quic_ack_notifier_manager.h" 34 #include "net/quic/quic_ack_notifier_manager.h"
34 #include "net/quic/quic_alarm.h" 35 #include "net/quic/quic_alarm.h"
35 #include "net/quic/quic_blocked_writer_interface.h" 36 #include "net/quic/quic_blocked_writer_interface.h"
36 #include "net/quic/quic_connection_stats.h" 37 #include "net/quic/quic_connection_stats.h"
37 #include "net/quic/quic_packet_creator.h" 38 #include "net/quic/quic_packet_creator.h"
38 #include "net/quic/quic_packet_generator.h" 39 #include "net/quic/quic_packet_generator.h"
39 #include "net/quic/quic_packet_writer.h" 40 #include "net/quic/quic_packet_writer.h"
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 851
851 // True if this is a secure QUIC connection. 852 // True if this is a secure QUIC connection.
852 bool is_secure_; 853 bool is_secure_;
853 854
854 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 855 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
855 }; 856 };
856 857
857 } // namespace net 858 } // namespace net
858 859
859 #endif // NET_QUIC_QUIC_CONNECTION_H_ 860 #endif // NET_QUIC_QUIC_CONNECTION_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698