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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 protected: | 63 protected: |
64 bool encryption_established_; | 64 bool encryption_established_; |
65 bool handshake_confirmed_; | 65 bool handshake_confirmed_; |
66 | 66 |
67 QuicCryptoNegotiatedParameters crypto_negotiated_params_; | 67 QuicCryptoNegotiatedParameters crypto_negotiated_params_; |
68 | 68 |
69 private: | 69 private: |
70 CryptoFramer crypto_framer_; | 70 CryptoFramer crypto_framer_; |
71 | 71 |
| 72 bool is_server_; |
| 73 |
72 DISALLOW_COPY_AND_ASSIGN(QuicCryptoStream); | 74 DISALLOW_COPY_AND_ASSIGN(QuicCryptoStream); |
73 }; | 75 }; |
74 | 76 |
75 } // namespace net | 77 } // namespace net |
76 | 78 |
77 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_ | 79 #endif // NET_QUIC_QUIC_CRYPTO_STREAM_H_ |
OLD | NEW |