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

Unified Diff: components/data_reduction_proxy/content/browser/content_lofi_decider.h

Issue 2848293002: Adding the Previews infobar to pages that show a client LoFi image (Closed)
Patch Set: sclittle nit 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/content/browser/content_lofi_decider.h
diff --git a/components/data_reduction_proxy/content/browser/content_lofi_decider.h b/components/data_reduction_proxy/content/browser/content_lofi_decider.h
index 40f6dc32814769cae6f67b85f82e278e5ea004cd..b71cd6bdbb3e839e2444ccb02e24f08d384ae93b 100644
--- a/components/data_reduction_proxy/content/browser/content_lofi_decider.h
+++ b/components/data_reduction_proxy/content/browser/content_lofi_decider.h
@@ -41,6 +41,7 @@ class ContentLoFiDecider : public LoFiDecider {
void MaybeSetIgnorePreviewsBlacklistDirective(
net::HttpRequestHeaders* headers) const override;
bool ShouldRecordLoFiUMA(const net::URLRequest& request) const override;
+ bool IsClientLoFiImageRequest(const net::URLRequest& request) const override;
private:
DISALLOW_COPY_AND_ASSIGN(ContentLoFiDecider);

Powered by Google App Engine
This is Rietveld 408576698