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

Unified Diff: content/public/browser/resource_request_info.h

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mmenke comments Created 5 years, 2 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: content/public/browser/resource_request_info.h
diff --git a/content/public/browser/resource_request_info.h b/content/public/browser/resource_request_info.h
index e9ba86ebcc0ea4c99f84a8a312a818c429406a8c..f6cdfce0f6c5f0fd4d5825348a49b03d13032898 100644
--- a/content/public/browser/resource_request_info.h
+++ b/content/public/browser/resource_request_info.h
@@ -124,6 +124,9 @@ class ResourceRequestInfo {
// Whether this is a download.
virtual bool IsDownload() const = 0;
+ // Whether this request if using Lo-Fi mode.
+ virtual bool IsUsingLoFi() const = 0;
+
protected:
virtual ~ResourceRequestInfo() {}
};

Powered by Google App Engine
This is Rietveld 408576698