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

Unified Diff: content/child/weburlresponse_extradata_impl.h

Issue 1105263004: "Load image" context menu item to reload a LoFi image. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: content/child/weburlresponse_extradata_impl.h
diff --git a/content/child/weburlresponse_extradata_impl.h b/content/child/weburlresponse_extradata_impl.h
index 719b0693c4c05d9e124ec2cf272f3e0df13e1c09..57ab00756dff2112ab16655e91481936f91cc01c 100644
--- a/content/child/weburlresponse_extradata_impl.h
+++ b/content/child/weburlresponse_extradata_impl.h
@@ -44,6 +44,14 @@ class CONTENT_EXPORT WebURLResponseExtraDataImpl :
proxy_server_ = proxy_server;
}
+ // Flag whether this request was loaded in low fidelity.
+ bool was_fetched_lo_fi() const {
+ return was_fetched_lo_fi_;
+ }
+ void set_was_fetched_lo_fi(bool was_fetched_lo_fi) {
+ was_fetched_lo_fi_ = was_fetched_lo_fi;
+ }
+
/// Flag whether this request was loaded via the SPDY protocol or not.
// SPDY is an experimental web protocol, see http://dev.chromium.org/spdy
bool was_fetched_via_spdy() const {
@@ -91,6 +99,7 @@ class CONTENT_EXPORT WebURLResponseExtraDataImpl :
std::string npn_negotiated_protocol_;
bool is_ftp_directory_listing_;
bool was_fetched_via_proxy_;
+ bool was_fetched_lo_fi_;
net::HostPortPair proxy_server_;
bool was_fetched_via_spdy_;
bool was_npn_negotiated_;

Powered by Google App Engine
This is Rietveld 408576698