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

Unified Diff: components/data_reduction_proxy/core/common/lofi_decider.h

Issue 1933653004: Reset the Lo-Fi main frame state when there is a new main frame request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments 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: components/data_reduction_proxy/core/common/lofi_decider.h
diff --git a/components/data_reduction_proxy/core/common/lofi_decider.h b/components/data_reduction_proxy/core/common/lofi_decider.h
index 6eb8e51dabb18aa6742a33cd6d7e79dd5c5f3485..1092ef7ba5b87d507050453caa31af60d62b4ad5 100644
--- a/components/data_reduction_proxy/core/common/lofi_decider.h
+++ b/components/data_reduction_proxy/core/common/lofi_decider.h
@@ -9,14 +9,11 @@
namespace net {
class HttpRequestHeaders;
-class ProxyServer;
class URLRequest;
}
namespace data_reduction_proxy {
-class DataReductionProxyConfig;
-
// Interface to determine if a request should be made for a low fidelity version
// of the resource.
class LoFiDecider {
@@ -35,9 +32,7 @@ class LoFiDecider {
// data reduction proxy as identified by the given |config|.
virtual bool MaybeAddLoFiDirectiveToHeaders(
const net::URLRequest& request,
- net::HttpRequestHeaders* headers,
- const net::ProxyServer& proxy_server,
- DataReductionProxyConfig* config) const = 0;
+ net::HttpRequestHeaders* headers) const = 0;
};
} // namespace data_reduction_proxy

Powered by Google App Engine
This is Rietveld 408576698