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

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

Issue 2347163002: s/NPN/ALPN/ (Closed)
Patch Set: Re: #12. Created 4 years, 3 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/public/common/resource_response_info.cc ('k') | content/public/renderer/document_state.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
diff --git a/content/public/renderer/document_state.h b/content/public/renderer/document_state.h
index 437cec09eef4773e926b92a0486036e6740262b5..cda7fa92e546514178af6f5889916f740f106517 100644
--- a/content/public/renderer/document_state.h
+++ b/content/public/renderer/document_state.h
@@ -132,14 +132,14 @@ class CONTENT_EXPORT DocumentState
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_npn_negotiated() const { return was_npn_negotiated_; }
- void set_was_npn_negotiated(bool value) { was_npn_negotiated_ = value; }
+ bool was_alpn_negotiated() const { return was_alpn_negotiated_; }
+ void set_was_alpn_negotiated(bool value) { was_alpn_negotiated_ = value; }
- const std::string& npn_negotiated_protocol() const {
- return npn_negotiated_protocol_;
+ const std::string& alpn_negotiated_protocol() const {
+ return alpn_negotiated_protocol_;
}
- void set_npn_negotiated_protocol(const std::string& value) {
- npn_negotiated_protocol_ = value;
+ void set_alpn_negotiated_protocol(const std::string& value) {
+ alpn_negotiated_protocol_ = value;
}
bool was_alternate_protocol_available() const {
@@ -208,8 +208,8 @@ class CONTENT_EXPORT DocumentState
bool load_histograms_recorded_;
bool web_timing_histograms_recorded_;
bool was_fetched_via_spdy_;
- bool was_npn_negotiated_;
- std::string npn_negotiated_protocol_;
+ bool was_alpn_negotiated_;
+ std::string alpn_negotiated_protocol_;
bool was_alternate_protocol_available_;
net::HttpResponseInfo::ConnectionInfo connection_info_;
bool was_fetched_via_proxy_;
« no previous file with comments | « content/public/common/resource_response_info.cc ('k') | content/public/renderer/document_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698