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

Side by Side Diff: chrome/browser/io_thread.h

Issue 455623003: stale-while-revalidate experimental implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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 CHROME_BROWSER_IO_THREAD_H_ 5 #ifndef CHROME_BROWSER_IO_THREAD_H_
6 #define CHROME_BROWSER_IO_THREAD_H_ 6 #define CHROME_BROWSER_IO_THREAD_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // between |proxy_script_fetcher_context| and |system_request_context|. 159 // between |proxy_script_fetcher_context| and |system_request_context|.
160 scoped_refptr<net::CookieStore> system_cookie_store; 160 scoped_refptr<net::CookieStore> system_cookie_store;
161 #if defined(ENABLE_EXTENSIONS) 161 #if defined(ENABLE_EXTENSIONS)
162 scoped_refptr<extensions::EventRouterForwarder> 162 scoped_refptr<extensions::EventRouterForwarder>
163 extension_event_router_forwarder; 163 extension_event_router_forwarder;
164 #endif 164 #endif
165 scoped_ptr<net::HostMappingRules> host_mapping_rules; 165 scoped_ptr<net::HostMappingRules> host_mapping_rules;
166 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings; 166 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings;
167 bool enable_ssl_connect_job_waiting; 167 bool enable_ssl_connect_job_waiting;
168 bool ignore_certificate_errors; 168 bool ignore_certificate_errors;
169 bool use_stale_while_revalidate;
169 uint16 testing_fixed_http_port; 170 uint16 testing_fixed_http_port;
170 uint16 testing_fixed_https_port; 171 uint16 testing_fixed_https_port;
171 Optional<bool> enable_tcp_fast_open_for_ssl; 172 Optional<bool> enable_tcp_fast_open_for_ssl;
172 173
173 Optional<size_t> initial_max_spdy_concurrent_streams; 174 Optional<size_t> initial_max_spdy_concurrent_streams;
174 Optional<bool> force_spdy_single_domain; 175 Optional<bool> force_spdy_single_domain;
175 Optional<bool> enable_spdy_compression; 176 Optional<bool> enable_spdy_compression;
176 Optional<bool> enable_spdy_ping_based_connection_checking; 177 Optional<bool> enable_spdy_ping_based_connection_checking;
177 Optional<net::NextProto> spdy_default_protocol; 178 Optional<net::NextProto> spdy_default_protocol;
178 net::NextProtoVector next_protos; 179 net::NextProtoVector next_protos;
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 bool is_spdy_disabled_by_policy_; 452 bool is_spdy_disabled_by_policy_;
452 453
453 const base::TimeTicks creation_time_; 454 const base::TimeTicks creation_time_;
454 455
455 base::WeakPtrFactory<IOThread> weak_factory_; 456 base::WeakPtrFactory<IOThread> weak_factory_;
456 457
457 DISALLOW_COPY_AND_ASSIGN(IOThread); 458 DISALLOW_COPY_AND_ASSIGN(IOThread);
458 }; 459 };
459 460
460 #endif // CHROME_BROWSER_IO_THREAD_H_ 461 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698