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

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

Issue 2296043003: Rename Lo-Fi previews to lite pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newLoFiInfoBarAddTests
Patch Set: tbansal comments Created 4 years, 3 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 1a66aad4c56dee2a0f7abfc25057b9b4f35c2994..c1863e951a82b3ae221abd856370e787f013dde2 100644
--- a/components/data_reduction_proxy/core/common/lofi_decider.h
+++ b/components/data_reduction_proxy/core/common/lofi_decider.h
@@ -26,9 +26,8 @@ class LoFiDecider {
// Returns true when Lo-Fi mode is on for the given |request|. If the
// |request| is using Lo-Fi mode, adds the "q=low" directive to the |headers|.
- // If the |request| is using Lo-Fi preview mode, and it is a main frame
- // request adds the "q=preview" and it is a main frame request directive to
- // the |headers|.
+ // If the |request| is using Lo-Fi mode, lite pages are enabled, and it is a
+ // main frame request adds the "q=preview" directive to the |headers|.
virtual bool MaybeAddLoFiDirectiveToHeaders(
const net::URLRequest& request,
net::HttpRequestHeaders* headers) const = 0;

Powered by Google App Engine
This is Rietveld 408576698