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

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

Issue 14816006: Land Recent QUIC changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing NET_PRIVATE_EXPORT to QuicWallTime Created 7 years, 7 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/quic_crypto_client_stream_test.cc ('k') | net/quic/quic_crypto_server_stream.cc » ('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 #ifndef NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_
6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ 6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/quic/crypto/crypto_handshake.h" 10 #include "net/quic/crypto/crypto_handshake.h"
(...skipping 16 matching lines...) Expand all
27 QuicCryptoServerStream(const QuicConfig& config, 27 QuicCryptoServerStream(const QuicConfig& config,
28 const QuicCryptoServerConfig& crypto_config, 28 const QuicCryptoServerConfig& crypto_config,
29 QuicSession* session); 29 QuicSession* session);
30 explicit QuicCryptoServerStream(QuicSession* session); 30 explicit QuicCryptoServerStream(QuicSession* session);
31 virtual ~QuicCryptoServerStream(); 31 virtual ~QuicCryptoServerStream();
32 32
33 // CryptoFramerVisitorInterface implementation 33 // CryptoFramerVisitorInterface implementation
34 virtual void OnHandshakeMessage( 34 virtual void OnHandshakeMessage(
35 const CryptoHandshakeMessage& message) OVERRIDE; 35 const CryptoHandshakeMessage& message) OVERRIDE;
36 36
37 const QuicNegotiatedParameters& negotiated_params() const;
38 const QuicCryptoNegotiatedParameters& crypto_negotiated_params() const;
39
40 private: 37 private:
41 friend class test::CryptoTestUtils; 38 friend class test::CryptoTestUtils;
42 39
43 // config_ contains non-crypto parameters that are negotiated in the crypto 40 // config_ contains non-crypto parameters that are negotiated in the crypto
44 // handshake. 41 // handshake.
45 const QuicConfig& config_; 42 const QuicConfig& config_;
46 // crypto_config_ contains crypto parameters for the handshake. 43 // crypto_config_ contains crypto parameters for the handshake.
47 const QuicCryptoServerConfig& crypto_config_; 44 const QuicCryptoServerConfig& crypto_config_;
48
49 QuicNegotiatedParameters negotiated_params_;
50 QuicCryptoNegotiatedParameters crypto_negotiated_params_;
51 }; 45 };
52 46
53 } // namespace net 47 } // namespace net
54 48
55 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ 49 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_client_stream_test.cc ('k') | net/quic/quic_crypto_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698