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

Unified Diff: net/http/bidirectional_stream.h

Issue 1992953004: [Cronet] Make delaying sending request headers explicit in bidirectional stream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: self review Created 4 years, 7 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
Index: net/http/bidirectional_stream.h
diff --git a/net/http/bidirectional_stream.h b/net/http/bidirectional_stream.h
index 86b3fff2d77180b8bde33c1a2f4df84b7aab47db..d91a6452774152d7381b3fed8eb5c3be13e608b6 100644
--- a/net/http/bidirectional_stream.h
+++ b/net/http/bidirectional_stream.h
@@ -97,7 +97,7 @@ class NET_EXPORT BidirectionalStream
BidirectionalStream(
std::unique_ptr<BidirectionalStreamRequestInfo> request_info,
HttpNetworkSession* session,
- bool disable_auto_flush,
+ bool delay_headers_until_next_send_data,
mef 2016/05/23 14:57:26 Um, shouldn't |disable_auto_flush| still be a thin
Delegate* delegate);
// Constructor that accepts a Timer, which can be used in tests to control
@@ -105,7 +105,7 @@ class NET_EXPORT BidirectionalStream
BidirectionalStream(
std::unique_ptr<BidirectionalStreamRequestInfo> request_info,
HttpNetworkSession* session,
- bool disable_auto_flush,
+ bool delay_headers_until_next_send_data,
Delegate* delegate,
std::unique_ptr<base::Timer> timer);
@@ -204,7 +204,7 @@ class NET_EXPORT BidirectionalStream
HttpNetworkSession* session_;
- bool disable_auto_flush_;
+ bool delay_headers_until_next_send_data_;
Delegate* const delegate_;
// Timer used to buffer data received in short time-spans and send a single

Powered by Google App Engine
This is Rietveld 408576698