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

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

Issue 1844803002: Modify PeerConnection for end-to-end QuicDataChannel usage (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
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...) Expand all
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 void CloseStream(net::QuicStreamId stream_id) override;
51 52
52 // QuicConnectionVisitorInterface overrides. 53 // QuicConnectionVisitorInterface overrides.
53 void OnConnectionClosed(net::QuicErrorCode error, 54 void OnConnectionClosed(net::QuicErrorCode error,
54 net::ConnectionCloseSource source) override; 55 net::ConnectionCloseSource source) override;
55 56
56 // Exports keying material for SRTP. 57 // Exports keying material for SRTP.
57 bool ExportKeyingMaterial(base::StringPiece label, 58 bool ExportKeyingMaterial(base::StringPiece label,
58 base::StringPiece context, 59 base::StringPiece context,
59 size_t result_len, 60 size_t result_len,
60 string* result); 61 string* result);
(...skipping 22 matching lines...) Expand all
83 84
84 private: 85 private:
85 rtc::scoped_ptr<net::QuicCryptoStream> crypto_stream_; 86 rtc::scoped_ptr<net::QuicCryptoStream> crypto_stream_;
86 87
87 RTC_DISALLOW_COPY_AND_ASSIGN(QuicSession); 88 RTC_DISALLOW_COPY_AND_ASSIGN(QuicSession);
88 }; 89 };
89 90
90 } // namespace cricket 91 } // namespace cricket
91 92
92 #endif // WEBRTC_P2P_QUIC_QUICSESSION_H_ 93 #endif // WEBRTC_P2P_QUIC_QUICSESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698