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

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

Issue 2903453003: DataReductionProxy proto change to use exp=force_lite_page directive (Closed)
Patch Set: Created 3 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 867ecf5059dfab84f6e6d0f68ca0838b3a3e6cdc..3c2f9c7e6bc1fd4519bdcad2752e150deb2f4b0d 100644
--- a/components/data_reduction_proxy/core/common/lofi_decider.h
+++ b/components/data_reduction_proxy/core/common/lofi_decider.h
@@ -54,9 +54,9 @@ class LoFiDecider {
virtual void RemoveAcceptTransformHeader(
net::HttpRequestHeaders* headers) const = 0;
- // Adds a directive to tell the server to ignore blacklists when a Lite Page
- // preview is being requested due to command line flags being set.
- virtual void MaybeSetIgnorePreviewsBlacklistDirective(
+ // Adds a directive to tell the server to return a Lite Page preview
+ // unconditionally.
+ virtual void MaybeSetForceLitePageDirective(
net::HttpRequestHeaders* headers) const = 0;
// Returns true if the Lo-Fi specific UMA should be recorded. It is set to

Powered by Google App Engine
This is Rietveld 408576698