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

Side by Side Diff: net/http/http_network_session.h

Issue 455623003: stale-while-revalidate experimental implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile fix for ResourcePrefreshPredictor. Created 6 years, 2 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 NET_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 ProxyService* proxy_service; 72 ProxyService* proxy_service;
73 std::string ssl_session_cache_shard; 73 std::string ssl_session_cache_shard;
74 SSLConfigService* ssl_config_service; 74 SSLConfigService* ssl_config_service;
75 HttpAuthHandlerFactory* http_auth_handler_factory; 75 HttpAuthHandlerFactory* http_auth_handler_factory;
76 NetworkDelegate* network_delegate; 76 NetworkDelegate* network_delegate;
77 base::WeakPtr<HttpServerProperties> http_server_properties; 77 base::WeakPtr<HttpServerProperties> http_server_properties;
78 NetLog* net_log; 78 NetLog* net_log;
79 HostMappingRules* host_mapping_rules; 79 HostMappingRules* host_mapping_rules;
80 bool enable_ssl_connect_job_waiting; 80 bool enable_ssl_connect_job_waiting;
81 bool ignore_certificate_errors; 81 bool ignore_certificate_errors;
82 bool use_stale_while_revalidate;
82 uint16 testing_fixed_http_port; 83 uint16 testing_fixed_http_port;
83 uint16 testing_fixed_https_port; 84 uint16 testing_fixed_https_port;
84 bool enable_tcp_fast_open_for_ssl; 85 bool enable_tcp_fast_open_for_ssl;
85 86
86 bool force_spdy_single_domain; 87 bool force_spdy_single_domain;
87 bool enable_spdy_compression; 88 bool enable_spdy_compression;
88 bool enable_spdy_ping_based_connection_checking; 89 bool enable_spdy_ping_based_connection_checking;
89 NextProto spdy_default_protocol; 90 NextProto spdy_default_protocol;
90 // The protocols supported by NPN (next protocol negotiation) during the 91 // The protocols supported by NPN (next protocol negotiation) during the
91 // SSL handshake as well as by HTTP Alternate-Protocol. 92 // SSL handshake as well as by HTTP Alternate-Protocol.
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 242
242 std::vector<std::string> next_protos_; 243 std::vector<std::string> next_protos_;
243 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 244 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
244 245
245 Params params_; 246 Params params_;
246 }; 247 };
247 248
248 } // namespace net 249 } // namespace net
249 250
250 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 251 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698