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

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

Issue 9315021: In chrome:loadtimes show the NPN protocol negotiated (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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/common/resource_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/document_state.h
===================================================================
--- content/public/renderer/document_state.h (revision 119306)
+++ content/public/renderer/document_state.h (working copy)
@@ -140,23 +140,30 @@
}
// Indicator if SPDY was used as part of this page load.
+ bool was_fetched_via_spdy() const { return was_fetched_via_spdy_; }
void set_was_fetched_via_spdy(bool value) { was_fetched_via_spdy_ = value; }
- bool was_fetched_via_spdy() const { return was_fetched_via_spdy_; }
+ bool was_npn_negotiated() const { return was_npn_negotiated_; }
void set_was_npn_negotiated(bool value) { was_npn_negotiated_ = value; }
- bool was_npn_negotiated() const { return was_npn_negotiated_; }
- void set_was_alternate_protocol_available(bool value) {
- was_alternate_protocol_available_ = value;
+ const std::string& npn_negotiated_protocol() const {
+ return npn_negotiated_protocol_;
}
+ void set_npn_negotiated_protocol(std::string& value) {
+ npn_negotiated_protocol_ = value;
+ }
+
bool was_alternate_protocol_available() const {
return was_alternate_protocol_available_;
}
+ void set_was_alternate_protocol_available(bool value) {
+ was_alternate_protocol_available_ = value;
+ }
+ bool was_fetched_via_proxy() const { return was_fetched_via_proxy_; }
void set_was_fetched_via_proxy(bool value) {
was_fetched_via_proxy_ = value;
}
- bool was_fetched_via_proxy() const { return was_fetched_via_proxy_; }
const GURL& searchable_form_url() const { return searchable_form_url_; }
void set_searchable_form_url(const GURL& url) { searchable_form_url_ = url; }
@@ -238,6 +245,7 @@
int http_status_code_;
bool was_fetched_via_spdy_;
bool was_npn_negotiated_;
+ std::string npn_negotiated_protocol_;
bool was_alternate_protocol_available_;
bool was_fetched_via_proxy_;
« no previous file with comments | « content/common/resource_messages.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698