| 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_;
|
|
|
|
|