OLD | NEW |
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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "net/quic/crypto/crypto_framer.h" | 9 #include "net/quic/crypto/crypto_framer.h" |
10 #include "net/quic/crypto/crypto_utils.h" | 10 #include "net/quic/crypto/crypto_utils.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 protected: | 54 protected: |
55 bool encryption_established_; | 55 bool encryption_established_; |
56 bool handshake_confirmed_; | 56 bool handshake_confirmed_; |
57 | 57 |
58 QuicCryptoNegotiatedParameters crypto_negotiated_params_; | 58 QuicCryptoNegotiatedParameters crypto_negotiated_params_; |
59 | 59 |
60 private: | 60 private: |
61 CryptoFramer crypto_framer_; | 61 CryptoFramer crypto_framer_; |
62 | 62 |
| 63 bool is_server_; |
| 64 |
63 DISALLOW_COPY_AND_ASSIGN(QuicCryptoStream); | 65 DISALLOW_COPY_AND_ASSIGN(QuicCryptoStream); |
64 }; | 66 }; |
65 | 67 |
66 } // namespace net | 68 } // namespace net |
67 | 69 |
68 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_ | 70 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_ |
OLD | NEW |