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

Unified Diff: content/child/weburlresponse_extradata_impl.h

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 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: content/child/weburlresponse_extradata_impl.h
diff --git a/content/child/weburlresponse_extradata_impl.h b/content/child/weburlresponse_extradata_impl.h
index 49cbf39f3e5552da2aa75f69368f6088b8eba6f5..dd7765aa45510e8db12a82ef38e951d020bd9f6a 100644
--- a/content/child/weburlresponse_extradata_impl.h
+++ b/content/child/weburlresponse_extradata_impl.h
@@ -87,6 +87,9 @@ class CONTENT_EXPORT WebURLResponseExtraDataImpl :
is_ftp_directory_listing_ = is_ftp_directory_listing;
}
+ bool is_using_lofi() const { return is_using_lofi_; }
+ void set_is_using_lofi(bool is_using_lofi) { is_using_lofi_ = is_using_lofi; }
+
private:
std::string npn_negotiated_protocol_;
bool is_ftp_directory_listing_;
@@ -96,6 +99,7 @@ class CONTENT_EXPORT WebURLResponseExtraDataImpl :
bool was_npn_negotiated_;
net::HttpResponseInfo::ConnectionInfo connection_info_;
bool was_alternate_protocol_available_;
+ bool is_using_lofi_;
DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl);
};

Powered by Google App Engine
This is Rietveld 408576698