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

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, 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 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // between |proxy_script_fetcher_context| and |system_request_context|. 160 // between |proxy_script_fetcher_context| and |system_request_context|.
161 scoped_refptr<net::CookieStore> system_cookie_store; 161 scoped_refptr<net::CookieStore> system_cookie_store;
162 #if defined(ENABLE_EXTENSIONS) 162 #if defined(ENABLE_EXTENSIONS)
163 scoped_refptr<extensions::EventRouterForwarder> 163 scoped_refptr<extensions::EventRouterForwarder>
164 extension_event_router_forwarder; 164 extension_event_router_forwarder;
165 #endif 165 #endif
166 scoped_ptr<net::HostMappingRules> host_mapping_rules; 166 scoped_ptr<net::HostMappingRules> host_mapping_rules;
167 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings; 167 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings;
168 bool enable_ssl_connect_job_waiting; 168 bool enable_ssl_connect_job_waiting;
169 bool ignore_certificate_errors; 169 bool ignore_certificate_errors;
170 bool use_stale_while_revalidate;
170 uint16 testing_fixed_http_port; 171 uint16 testing_fixed_http_port;
171 uint16 testing_fixed_https_port; 172 uint16 testing_fixed_https_port;
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;
179 Optional<string> trusted_spdy_proxy; 180 Optional<string> trusted_spdy_proxy;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 bool is_spdy_disabled_by_policy_; 443 bool is_spdy_disabled_by_policy_;
443 444
444 base::WeakPtrFactory<IOThread> weak_factory_; 445 base::WeakPtrFactory<IOThread> weak_factory_;
445 446
446 const base::TimeTicks creation_time_; 447 const base::TimeTicks creation_time_;
447 448
448 DISALLOW_COPY_AND_ASSIGN(IOThread); 449 DISALLOW_COPY_AND_ASSIGN(IOThread);
449 }; 450 };
450 451
451 #endif // CHROME_BROWSER_IO_THREAD_H_ 452 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698