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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_
6 #define CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ 6 #define CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 return web_timing_histograms_recorded_; 125 return web_timing_histograms_recorded_;
126 } 126 }
127 void set_web_timing_histograms_recorded(bool value) { 127 void set_web_timing_histograms_recorded(bool value) {
128 web_timing_histograms_recorded_ = value; 128 web_timing_histograms_recorded_ = value;
129 } 129 }
130 130
131 // Indicator if SPDY was used as part of this page load. 131 // Indicator if SPDY was used as part of this page load.
132 bool was_fetched_via_spdy() const { return was_fetched_via_spdy_; } 132 bool was_fetched_via_spdy() const { return was_fetched_via_spdy_; }
133 void set_was_fetched_via_spdy(bool value) { was_fetched_via_spdy_ = value; } 133 void set_was_fetched_via_spdy(bool value) { was_fetched_via_spdy_ = value; }
134 134
135 bool was_npn_negotiated() const { return was_npn_negotiated_; } 135 bool was_alpn_negotiated() const { return was_alpn_negotiated_; }
136 void set_was_npn_negotiated(bool value) { was_npn_negotiated_ = value; } 136 void set_was_alpn_negotiated(bool value) { was_alpn_negotiated_ = value; }
137 137
138 const std::string& npn_negotiated_protocol() const { 138 const std::string& alpn_negotiated_protocol() const {
139 return npn_negotiated_protocol_; 139 return alpn_negotiated_protocol_;
140 } 140 }
141 void set_npn_negotiated_protocol(const std::string& value) { 141 void set_alpn_negotiated_protocol(const std::string& value) {
142 npn_negotiated_protocol_ = value; 142 alpn_negotiated_protocol_ = value;
143 } 143 }
144 144
145 bool was_alternate_protocol_available() const { 145 bool was_alternate_protocol_available() const {
146 return was_alternate_protocol_available_; 146 return was_alternate_protocol_available_;
147 } 147 }
148 void set_was_alternate_protocol_available(bool value) { 148 void set_was_alternate_protocol_available(bool value) {
149 was_alternate_protocol_available_ = value; 149 was_alternate_protocol_available_ = value;
150 } 150 }
151 151
152 net::HttpResponseInfo::ConnectionInfo connection_info() const { 152 net::HttpResponseInfo::ConnectionInfo connection_info() const {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 base::Time request_time_; 201 base::Time request_time_;
202 base::Time start_load_time_; 202 base::Time start_load_time_;
203 base::Time commit_load_time_; 203 base::Time commit_load_time_;
204 base::Time finish_document_load_time_; 204 base::Time finish_document_load_time_;
205 base::Time finish_load_time_; 205 base::Time finish_load_time_;
206 base::Time first_paint_time_; 206 base::Time first_paint_time_;
207 base::Time first_paint_after_load_time_; 207 base::Time first_paint_after_load_time_;
208 bool load_histograms_recorded_; 208 bool load_histograms_recorded_;
209 bool web_timing_histograms_recorded_; 209 bool web_timing_histograms_recorded_;
210 bool was_fetched_via_spdy_; 210 bool was_fetched_via_spdy_;
211 bool was_npn_negotiated_; 211 bool was_alpn_negotiated_;
212 std::string npn_negotiated_protocol_; 212 std::string alpn_negotiated_protocol_;
213 bool was_alternate_protocol_available_; 213 bool was_alternate_protocol_available_;
214 net::HttpResponseInfo::ConnectionInfo connection_info_; 214 net::HttpResponseInfo::ConnectionInfo connection_info_;
215 bool was_fetched_via_proxy_; 215 bool was_fetched_via_proxy_;
216 net::HostPortPair proxy_server_; 216 net::HostPortPair proxy_server_;
217 217
218 bool was_load_data_with_base_url_request_; 218 bool was_load_data_with_base_url_request_;
219 GURL data_url_; 219 GURL data_url_;
220 220
221 LoadType load_type_; 221 LoadType load_type_;
222 222
223 std::unique_ptr<NavigationState> navigation_state_; 223 std::unique_ptr<NavigationState> navigation_state_;
224 224
225 bool can_load_local_resources_; 225 bool can_load_local_resources_;
226 }; 226 };
227 227
228 #endif // CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ 228 #endif // CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_
229 229
230 } // namespace content 230 } // namespace content
OLDNEW
« 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