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

Unified Diff: content/child/weburlresponse_extradata_impl.h

Issue 2932003002: Implement nextHopProtocol in PerformanceResourceTiming and PerformanceNavigationTiming. (Closed)
Patch Set: Make ConnectionInfoString() return AtomicString Created 3 years, 6 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
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/child/weburlresponse_extradata_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/weburlresponse_extradata_impl.h
diff --git a/content/child/weburlresponse_extradata_impl.h b/content/child/weburlresponse_extradata_impl.h
index a87e87489298461a1e74252ba2fd83c30a2fadef..58b75d1e7ddb98afd664ffe437a374c9d24569ae 100644
--- a/content/child/weburlresponse_extradata_impl.h
+++ b/content/child/weburlresponse_extradata_impl.h
@@ -20,14 +20,9 @@ namespace content {
class CONTENT_EXPORT WebURLResponseExtraDataImpl :
public NON_EXPORTED_BASE(blink::WebURLResponse::ExtraData) {
public:
- explicit WebURLResponseExtraDataImpl(
- const std::string& alpn_negotiated_protocol);
+ WebURLResponseExtraDataImpl();
~WebURLResponseExtraDataImpl() override;
- const std::string& alpn_negotiated_protocol() const {
- return alpn_negotiated_protocol_;
- }
-
/// 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 {
@@ -37,15 +32,6 @@ class CONTENT_EXPORT WebURLResponseExtraDataImpl :
was_fetched_via_spdy_ = was_fetched_via_spdy;
}
- // Information about the type of connection used to fetch this response.
- net::HttpResponseInfo::ConnectionInfo connection_info() const {
- return connection_info_;
- }
- void set_connection_info(
- net::HttpResponseInfo::ConnectionInfo connection_info) {
- connection_info_ = connection_info;
- }
-
// Flag whether this request was loaded after the
// TLS/Next-Protocol-Negotiation was used.
// This is related to SPDY.
@@ -84,11 +70,9 @@ class CONTENT_EXPORT WebURLResponseExtraDataImpl :
}
private:
- std::string alpn_negotiated_protocol_;
bool is_ftp_directory_listing_;
bool was_fetched_via_spdy_;
bool was_alpn_negotiated_;
- net::HttpResponseInfo::ConnectionInfo connection_info_;
bool was_alternate_protocol_available_;
PreviewsState previews_state_;
net::EffectiveConnectionType effective_connection_type_;
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/child/weburlresponse_extradata_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698