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

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

Issue 131743009: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use size_t instead of int to fix win_x64 compile error Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/crypto/strike_register_client.h ('k') | net/quic/quic_connection.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 // A client specific QuicSession subclass. This class owns the underlying 5 // A client specific QuicSession subclass. This class owns the underlying
6 // QuicConnection and QuicConnectionHelper objects. The connection stores 6 // QuicConnection and QuicConnectionHelper objects. The connection stores
7 // a non-owning pointer to the helper so this session needs to ensure that 7 // a non-owning pointer to the helper so this session needs to ensure that
8 // the helper outlives the connection. 8 // the helper outlives the connection.
9 9
10 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_H_ 10 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_H_
11 #define NET_QUIC_QUIC_CLIENT_SESSION_H_ 11 #define NET_QUIC_QUIC_CLIENT_SESSION_H_
12 12
13 #include <string> 13 #include <string>
14 14
15 #include "base/basictypes.h"
15 #include "base/containers/hash_tables.h" 16 #include "base/containers/hash_tables.h"
16 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
17 #include "net/base/completion_callback.h" 18 #include "net/base/completion_callback.h"
18 #include "net/proxy/proxy_server.h" 19 #include "net/proxy/proxy_server.h"
19 #include "net/quic/quic_connection_logger.h" 20 #include "net/quic/quic_connection_logger.h"
20 #include "net/quic/quic_crypto_client_stream.h" 21 #include "net/quic/quic_crypto_client_stream.h"
22 #include "net/quic/quic_protocol.h"
21 #include "net/quic/quic_reliable_client_stream.h" 23 #include "net/quic/quic_reliable_client_stream.h"
22 #include "net/quic/quic_session.h" 24 #include "net/quic/quic_session.h"
23 25
24 namespace net { 26 namespace net {
25 27
26 class DatagramClientSocket; 28 class DatagramClientSocket;
27 class QuicConnectionHelper; 29 class QuicConnectionHelper;
28 class QuicCryptoClientStreamFactory; 30 class QuicCryptoClientStreamFactory;
29 class QuicDefaultPacketWriter; 31 class QuicDefaultPacketWriter;
30 class QuicStreamFactory; 32 class QuicStreamFactory;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // Number of packets read in the current read loop. 218 // Number of packets read in the current read loop.
217 size_t num_packets_read_; 219 size_t num_packets_read_;
218 base::WeakPtrFactory<QuicClientSession> weak_factory_; 220 base::WeakPtrFactory<QuicClientSession> weak_factory_;
219 221
220 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); 222 DISALLOW_COPY_AND_ASSIGN(QuicClientSession);
221 }; 223 };
222 224
223 } // namespace net 225 } // namespace net
224 226
225 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_ 227 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/strike_register_client.h ('k') | net/quic/quic_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698