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

Unified Diff: net/quic/core/quic_client_promised_info.cc

Issue 2544063002: Deprecate FLAGS_quic_send_push_stream_timed_out_error. (Closed)
Patch Set: Created 4 years 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 | « no previous file | net/quic/core/quic_client_promised_info_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_client_promised_info.cc
diff --git a/net/quic/core/quic_client_promised_info.cc b/net/quic/core/quic_client_promised_info.cc
index 1648a2bc9d6e2e6d03c8147199d5df672580c09e..186b192c5f2658ef8511bf859879de21ff315473 100644
--- a/net/quic/core/quic_client_promised_info.cc
+++ b/net/quic/core/quic_client_promised_info.cc
@@ -26,11 +26,7 @@ QuicClientPromisedInfo::~QuicClientPromisedInfo() {}
void QuicClientPromisedInfo::CleanupAlarm::OnAlarm() {
DVLOG(1) << "self GC alarm for stream " << promised_->id_;
promised_->session()->OnPushStreamTimedOut(promised_->id_);
- if (FLAGS_quic_send_push_stream_timed_out_error) {
- promised_->Reset(QUIC_PUSH_STREAM_TIMED_OUT);
- } else {
- promised_->Reset(QUIC_STREAM_CANCELLED);
- }
+ promised_->Reset(QUIC_PUSH_STREAM_TIMED_OUT);
}
void QuicClientPromisedInfo::Init() {
« no previous file with comments | « no previous file | net/quic/core/quic_client_promised_info_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698