Index: components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h |
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h |
index 3e613d825752b529d03d5477850a21ca621f39e3..7991a78c970bf9d7f1d506b6ea4bada4c7372e32 100644 |
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h |
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h |
@@ -6,16 +6,17 @@ |
#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_HEADERS_H_ |
#include <string> |
+#include <vector> |
#include "base/macros.h" |
#include "base/strings/string_piece.h" |
#include "base/time/time.h" |
#include "net/proxy/proxy_service.h" |
-namespace net { |
+class GURL; |
+namespace net { |
class HttpResponseHeaders; |
- |
} // namespace net |
namespace data_reduction_proxy { |
@@ -139,9 +140,10 @@ bool HasDataReductionProxyViaHeader(const net::HttpResponseHeaders* headers, |
// Returns the reason why the Chrome proxy should be bypassed or not, and |
// populates |proxy_info| with information on how long to bypass if |
-// applicable. |
+// applicable. |url_chain| is the chain of URLs traversed by the request. |
DataReductionProxyBypassType GetDataReductionProxyBypassType( |
- const net::HttpResponseHeaders* headers, |
+ const std::vector<GURL>& url_chain, |
+ const net::HttpResponseHeaders& headers, |
DataReductionProxyInfo* proxy_info); |
// Searches for the specified Chrome-Proxy action, and if present saves its |