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

Unified Diff: net/quic/quartc/quartc_session.cc

Issue 2487613002: Landing Recent QUIC changes until 12:43 PM, Nov 5, 2016 UTC+8 (Closed)
Patch Set: Created 4 years, 1 month 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 | « net/quic/quartc/quartc_session.h ('k') | net/quic/quartc/quartc_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quartc/quartc_session.cc
diff --git a/net/quic/quartc/quartc_session.cc b/net/quic/quartc/quartc_session.cc
index 7b52b12847557cd5ac665129c0038ccf4b20fe68..b89dc07734975013b4935b09087a2f8ee2454e85 100644
--- a/net/quic/quartc/quartc_session.cc
+++ b/net/quic/quartc/quartc_session.cc
@@ -162,7 +162,7 @@ void QuartcSession::OnCryptoHandshakeEvent(CryptoHandshakeEvent event) {
void QuartcSession::CloseStream(QuicStreamId stream_id) {
if (IsClosedStream(stream_id)) {
// When CloseStream has been called recursively (via
- // ReliableQuicStream::OnClose), the stream is already closed so return.
+ // QuicStream::OnClose), the stream is already closed so return.
return;
}
write_blocked_streams()->UnregisterStream(stream_id);
@@ -262,8 +262,7 @@ void QuartcSession::SetServerCryptoConfig(
quic_crypto_server_config_.reset(server_config);
}
-ReliableQuicStream* QuartcSession::CreateIncomingDynamicStream(
- QuicStreamId id) {
+QuicStream* QuartcSession::CreateIncomingDynamicStream(QuicStreamId id) {
QuartcStream* stream = CreateDataStream(id, kDefaultPriority);
if (stream) {
DCHECK(session_delegate_);
@@ -281,7 +280,7 @@ QuartcStream* QuartcSession::CreateDataStream(QuicStreamId id,
QuartcStream* stream = new QuartcStream(id, this);
if (stream) {
// Make QuicSession take ownership of the stream.
- ActivateStream(std::unique_ptr<ReliableQuicStream>(stream));
+ ActivateStream(std::unique_ptr<QuicStream>(stream));
// Register the stream to the QuicWriteBlockedList. |priority| is clamped
// between 0 and 7, with 0 being the highest priority and 7 the lowest
// priority.
« no previous file with comments | « net/quic/quartc/quartc_session.h ('k') | net/quic/quartc/quartc_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698