OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 | 41 |
42 // QuicSession overrides. | 42 // QuicSession overrides. |
43 net::QuicCryptoStream* GetCryptoStream() override { | 43 net::QuicCryptoStream* GetCryptoStream() override { |
44 return crypto_stream_.get(); | 44 return crypto_stream_.get(); |
45 } | 45 } |
46 ReliableQuicStream* CreateOutgoingDynamicStream( | 46 ReliableQuicStream* CreateOutgoingDynamicStream( |
47 net::SpdyPriority priority) override; | 47 net::SpdyPriority priority) override; |
48 | 48 |
49 // QuicSession optional overrides. | 49 // QuicSession optional overrides. |
50 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; | 50 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; |
51 | |
52 // QuicConnectionVisitorInterface overrides. | |
53 void OnConnectionClosed(net::QuicErrorCode error, | 51 void OnConnectionClosed(net::QuicErrorCode error, |
54 net::ConnectionCloseSource source) override; | 52 net::ConnectionCloseSource source) override; |
55 | 53 |
56 // Exports keying material for SRTP. | 54 // Exports keying material for SRTP. |
57 bool ExportKeyingMaterial(base::StringPiece label, | 55 bool ExportKeyingMaterial(base::StringPiece label, |
58 base::StringPiece context, | 56 base::StringPiece context, |
59 size_t result_len, | 57 size_t result_len, |
60 string* result); | 58 string* result); |
61 | 59 |
62 // Decrypts an incoming QUIC packet to a data stream. | 60 // Decrypts an incoming QUIC packet to a data stream. |
(...skipping 20 matching lines...) Expand all Loading... |
83 | 81 |
84 private: | 82 private: |
85 rtc::scoped_ptr<net::QuicCryptoStream> crypto_stream_; | 83 rtc::scoped_ptr<net::QuicCryptoStream> crypto_stream_; |
86 | 84 |
87 RTC_DISALLOW_COPY_AND_ASSIGN(QuicSession); | 85 RTC_DISALLOW_COPY_AND_ASSIGN(QuicSession); |
88 }; | 86 }; |
89 | 87 |
90 } // namespace cricket | 88 } // namespace cricket |
91 | 89 |
92 #endif // WEBRTC_P2P_QUIC_QUICSESSION_H_ | 90 #endif // WEBRTC_P2P_QUIC_QUICSESSION_H_ |
OLD | NEW |