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

Side by Side Diff: net/quic/crypto/quic_crypto_client_config.h

Issue 147763009: Add the client address to the Public Reset packet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove crypto_handshake_message.* from the CL; they were committed separately Created 6 years, 10 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/crypto_protocol.h ('k') | net/quic/crypto/quic_crypto_server_config.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CRYPTO_QUIC_CRYPTO_CLIENT_CONFIG_H_ 5 #ifndef NET_QUIC_CRYPTO_QUIC_CRYPTO_CLIENT_CONFIG_H_
6 #define NET_QUIC_CRYPTO_QUIC_CRYPTO_CLIENT_CONFIG_H_ 6 #define NET_QUIC_CRYPTO_QUIC_CRYPTO_CLIENT_CONFIG_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
14 #include "net/base/net_export.h" 14 #include "net/base/net_export.h"
15 #include "net/quic/crypto/crypto_handshake.h" 15 #include "net/quic/crypto/crypto_handshake.h"
16 #include "net/quic/quic_protocol.h" 16 #include "net/quic/quic_protocol.h"
17 17
18 namespace net { 18 namespace net {
19 19
20 class ChannelIDSigner;
21 class CryptoHandshakeMessage;
22 class ProofVerifier;
23 class ProofVerifyDetails;
24 class QuicRandom;
20 class QuicServerInfo; 25 class QuicServerInfo;
21 class QuicServerInfoFactory; 26 class QuicServerInfoFactory;
22 27
23 // QuicCryptoClientConfig contains crypto-related configuration settings for a 28 // QuicCryptoClientConfig contains crypto-related configuration settings for a
24 // client. Note that this object isn't thread-safe. It's designed to be used on 29 // client. Note that this object isn't thread-safe. It's designed to be used on
25 // a single thread at a time. 30 // a single thread at a time.
26 class NET_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig { 31 class NET_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig {
27 public: 32 public:
28 // A CachedState contains the information that the client needs in order to 33 // A CachedState contains the information that the client needs in order to
29 // perform a 0-RTT handshake with a server. This information can be reused 34 // perform a 0-RTT handshake with a server. This information can be reused
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 QuicServerInfoFactory* quic_server_info_factory_; 227 QuicServerInfoFactory* quic_server_info_factory_;
223 scoped_ptr<ProofVerifier> proof_verifier_; 228 scoped_ptr<ProofVerifier> proof_verifier_;
224 scoped_ptr<ChannelIDSigner> channel_id_signer_; 229 scoped_ptr<ChannelIDSigner> channel_id_signer_;
225 230
226 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientConfig); 231 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientConfig);
227 }; 232 };
228 233
229 } // namespace net 234 } // namespace net
230 235
231 #endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_CLIENT_CONFIG_H_ 236 #endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_CLIENT_CONFIG_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_protocol.h ('k') | net/quic/crypto/quic_crypto_server_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698