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

Unified Diff: content/public/renderer/document_state.h

Issue 2429063002: Implement nextHopProtocol in PerformanceResourceTiming and PerformanceNavigationTiming.
Patch Set: Added core_export for PerformanceResourceTiming Created 4 years, 2 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/public/renderer/document_state.h
diff --git a/content/public/renderer/document_state.h b/content/public/renderer/document_state.h
index 7da18d8e411f3de2aeb37bf9b8f1940d8ea9e37e..b50775f0a3e2c50497b284ee781184b150083629 100644
--- a/content/public/renderer/document_state.h
+++ b/content/public/renderer/document_state.h
@@ -149,11 +149,10 @@ class CONTENT_EXPORT DocumentState
was_alternate_protocol_available_ = value;
}
- net::HttpResponseInfo::ConnectionInfo connection_info() const {
+ std::string connection_info() const {
return connection_info_;
}
- void set_connection_info(
- net::HttpResponseInfo::ConnectionInfo connection_info) {
+ void set_connection_info(const std::string& connection_info) {
connection_info_ = connection_info;
}
@@ -200,7 +199,7 @@ class CONTENT_EXPORT DocumentState
bool was_alpn_negotiated_;
std::string alpn_negotiated_protocol_;
bool was_alternate_protocol_available_;
- net::HttpResponseInfo::ConnectionInfo connection_info_;
+ std::string connection_info_;
bool was_load_data_with_base_url_request_;
GURL data_url_;

Powered by Google App Engine
This is Rietveld 408576698