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

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

Issue 2429063002: Implement nextHopProtocol in PerformanceResourceTiming and PerformanceNavigationTiming.
Patch Set: included changes for navigation timing Created 3 years, 8 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 655cd917f2c83e91ebd22f1edd837626785e391d..c1c8f68b0aba52ba8e4ff705a84166975dc5f900 100644
--- a/content/public/renderer/document_state.h
+++ b/content/public/renderer/document_state.h
@@ -54,11 +54,8 @@ class CONTENT_EXPORT DocumentState
was_alternate_protocol_available_ = value;
}
- net::HttpResponseInfo::ConnectionInfo connection_info() const {
- return connection_info_;
- }
- void set_connection_info(
- net::HttpResponseInfo::ConnectionInfo connection_info) {
+ std::string connection_info() const { return connection_info_; }
kinuko 2017/04/18 05:46:25 const std::string&
+ void set_connection_info(const std::string& connection_info) {
connection_info_ = connection_info;
}
@@ -92,7 +89,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