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

Unified Diff: net/http/http_network_transaction.h

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/http_network_transaction.h
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
index 229d3971b1f37c6cfe960150841c36b848d2c15f..2c4bd93fb980a28ca38067e19688979bd0dcef57 100644
--- a/net/http/http_network_transaction.h
+++ b/net/http/http_network_transaction.h
@@ -144,6 +144,10 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
bool is_https_request() const;
+ // Returns true if the request is using an HTTP(S) proxy without being
+ // tunneled via the CONNECT method.
+ bool UsingHttpProxyWithoutTunnel() const;
+
void DoCallback(int result);
void OnIOComplete(int result);
@@ -176,7 +180,7 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
int DoDrainBodyForAuthRestart();
int DoDrainBodyForAuthRestartComplete(int result);
- void BuildRequestHeaders(bool using_proxy);
+ void BuildRequestHeaders(bool using_http_proxy_without_tunnel);
// Writes a log message to help debugging in the field when we block a proxy
// response to a CONNECT request.

Powered by Google App Engine
This is Rietveld 408576698