Chromium Code Reviews

Side by Side Diff: webrtc/p2p/quic/quicsession.h

Issue 1856513002: Add QuicTransportChannel methods for QUIC streams (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add unit test for closing QUIC stream and merge changes Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | webrtc/p2p/quic/quicsession.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 /* 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...)
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.
pthatcher1 2016/04/11 22:02:11 I'm curious why this is removed. Is this no longe
mikescarlett 2016/04/11 22:29:30 I'm adding this back. This is still true.
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...)
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_
OLDNEW
« no previous file with comments | « no previous file | webrtc/p2p/quic/quicsession.cc » ('j') | no next file with comments »

Powered by Google App Engine