Index: components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h |
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h b/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h |
index 5598c26acc7f34ff35aa7ad5fb8a8bf6fa9da71e..53722f4c220a6f01ab58fdaa852441cdc3fbebf5 100644 |
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h |
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h |
@@ -16,6 +16,7 @@ namespace net { |
class HttpResponseHeaders; |
class ProxyServer; |
class URLRequest; |
+class ProxyInfo; |
bengr
2014/07/02 18:46:43
alphabetize.
rcs
2014/07/02 22:53:13
Done.
|
} |
class GURL; |
@@ -33,6 +34,12 @@ bool MaybeBypassProxyAndPrepareToRetry( |
const net::HttpResponseHeaders* original_response_headers, |
scoped_refptr<net::HttpResponseHeaders>* override_response_headers); |
+// Upon ProxyService.ResolveProxy(), bypass if the effective proxy is the data |
+// reduction proxy, the net::LOAD_BYPASS_DATA_REDUCTION_PROXY load_flag is |
bengr
2014/07/02 18:46:43
Put code references in ||.
rcs
2014/07/02 22:53:13
Done.
|
+// set, and the DataCompressionProxyCriticalBypass Finch trial is set. |
+void OnResolveProxyHandler(const GURL& url, int load_flags, |
bengr
2014/07/02 18:46:43
Forward declare GURL.
bengr
2014/07/02 18:46:43
Put each param on its own line if they cant all fi
rcs
2014/07/02 22:53:12
Done.
rcs
2014/07/02 22:53:13
Done.
|
+ net::ProxyInfo* result); |
+ |
// Returns true if the request method is idempotent. Only idempotent requests |
// are retried on a bypass. Visible as part of the public API for testing. |
bool IsRequestIdempotent(const net::URLRequest* request); |