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

Unified Diff: webrtc/p2p/quic/quicsession.h

Issue 1910633003: Update QuicTransportChannel to latest version of libquic (Chromium: f03d2c62) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Sync to upstream 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/p2p/quic/quicconnectionhelper_unittest.cc ('k') | webrtc/p2p/quic/quicsession.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/quic/quicsession.h
diff --git a/webrtc/p2p/quic/quicsession.h b/webrtc/p2p/quic/quicsession.h
index a6da38a13d6581c668a24aa5624c1ff1a5415e01..a50eb6bb2c93ea162f29710a68efb36ae850f689 100644
--- a/webrtc/p2p/quic/quicsession.h
+++ b/webrtc/p2p/quic/quicsession.h
@@ -52,13 +52,14 @@ class QuicSession : public net::QuicSession, public sigslot::has_slots<> {
// QuicConnectionVisitorInterface overrides.
void OnConnectionClosed(net::QuicErrorCode error,
+ const std::string& error_details,
net::ConnectionCloseSource source) override;
// Exports keying material for SRTP.
bool ExportKeyingMaterial(base::StringPiece label,
base::StringPiece context,
size_t result_len,
- string* result);
+ std::string* result);
// Decrypts an incoming QUIC packet to a data stream.
bool OnReadPacket(const char* data, size_t data_len);
@@ -84,6 +85,7 @@ class QuicSession : public net::QuicSession, public sigslot::has_slots<> {
private:
std::unique_ptr<net::QuicCryptoStream> crypto_stream_;
+ net::QuicClock clock_; // For recording packet receipt time
RTC_DISALLOW_COPY_AND_ASSIGN(QuicSession);
};
« no previous file with comments | « webrtc/p2p/quic/quicconnectionhelper_unittest.cc ('k') | webrtc/p2p/quic/quicsession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698