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

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: remove log statement and fix ResponseInfo::DeepCopy Created 5 years, 4 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..1c388bde6dea2f1439ceed3e47f88b9af54aab79 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_lofi() const { return is_lofi_; }
+ void set_is_lofi(bool is_lofi) { is_lofi_ = is_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_lofi_;
DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl);
};

Powered by Google App Engine
This is Rietveld 408576698