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

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

Issue 12806002: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor comment fix Created 7 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_crypto_server_stream_test.cc ('k') | net/quic/quic_crypto_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_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_CRYPTO_STREAM_H_
6 #define NET_QUIC_QUIC_CRYPTO_STREAM_H_ 6 #define NET_QUIC_QUIC_CRYPTO_STREAM_H_
7 7
8 #include "net/quic/crypto/crypto_framer.h" 8 #include "net/quic/crypto/crypto_framer.h"
9 #include "net/quic/crypto/crypto_utils.h" 9 #include "net/quic/crypto/crypto_utils.h"
10 #include "net/quic/quic_protocol.h" 10 #include "net/quic/quic_protocol.h"
(...skipping 10 matching lines...) Expand all
21 // to send and receive handshake messages. (In the normal 1-RTT 21 // to send and receive handshake messages. (In the normal 1-RTT
22 // handshake, the client will send a client hello, CHLO, message. 22 // handshake, the client will send a client hello, CHLO, message.
23 // The server will receive this message and respond with a server 23 // The server will receive this message and respond with a server
24 // hello message, SHLO. At this point both sides will have established 24 // hello message, SHLO. At this point both sides will have established
25 // a crypto context they can use to send encrypted messages. 25 // a crypto context they can use to send encrypted messages.
26 // 26 //
27 // For more details: http://goto.google.com/quic-crypto 27 // For more details: http://goto.google.com/quic-crypto
28 class NET_EXPORT_PRIVATE QuicCryptoStream 28 class NET_EXPORT_PRIVATE QuicCryptoStream
29 : public ReliableQuicStream, 29 : public ReliableQuicStream,
30 public CryptoFramerVisitorInterface { 30 public CryptoFramerVisitorInterface {
31
32 public: 31 public:
33 explicit QuicCryptoStream(QuicSession* session); 32 explicit QuicCryptoStream(QuicSession* session);
34 33
35 // CryptoFramerVisitorInterface implementation 34 // CryptoFramerVisitorInterface implementation
36 virtual void OnError(CryptoFramer* framer) OVERRIDE; 35 virtual void OnError(CryptoFramer* framer) OVERRIDE;
37 virtual void OnHandshakeMessage(const CryptoHandshakeMessage& message) = 0; 36 virtual void OnHandshakeMessage(const CryptoHandshakeMessage& message) = 0;
38 37
39 // ReliableQuicStream implementation 38 // ReliableQuicStream implementation
40 virtual uint32 ProcessData(const char* data, uint32 data_len) OVERRIDE; 39 virtual uint32 ProcessData(const char* data, uint32 data_len) OVERRIDE;
41 40
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 CryptoTagVector congestion_control; 93 CryptoTagVector congestion_control;
95 // Idle connection state lifetime 94 // Idle connection state lifetime
96 QuicTime::Delta idle_connection_state_lifetime; 95 QuicTime::Delta idle_connection_state_lifetime;
97 // Keepalive timeout, or 0 to turn off keepalive probes 96 // Keepalive timeout, or 0 to turn off keepalive probes
98 QuicTime::Delta keepalive_timeout; 97 QuicTime::Delta keepalive_timeout;
99 }; 98 };
100 99
101 } // namespace net 100 } // namespace net
102 101
103 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_ 102 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_server_stream_test.cc ('k') | net/quic/quic_crypto_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698