OLD | NEW |
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 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 274 |
275 BooleanPrefMember dns_client_enabled_; | 275 BooleanPrefMember dns_client_enabled_; |
276 | 276 |
277 // Store HTTP Auth-related policies in this thread. | 277 // Store HTTP Auth-related policies in this thread. |
278 std::string auth_schemes_; | 278 std::string auth_schemes_; |
279 bool negotiate_disable_cname_lookup_; | 279 bool negotiate_disable_cname_lookup_; |
280 bool negotiate_enable_port_; | 280 bool negotiate_enable_port_; |
281 std::string auth_server_whitelist_; | 281 std::string auth_server_whitelist_; |
282 std::string auth_delegate_whitelist_; | 282 std::string auth_delegate_whitelist_; |
283 std::string gssapi_library_name_; | 283 std::string gssapi_library_name_; |
284 std::string spdyproxy_origin_; | 284 std::string spdyproxy_auth_origin_; |
285 | 285 |
286 // This is an instance of the default SSLConfigServiceManager for the current | 286 // This is an instance of the default SSLConfigServiceManager for the current |
287 // platform and it gets SSL preferences from local_state object. | 287 // platform and it gets SSL preferences from local_state object. |
288 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 288 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
289 | 289 |
290 // These member variables are initialized by a task posted to the IO thread, | 290 // These member variables are initialized by a task posted to the IO thread, |
291 // which gets posted by calling certain member functions of IOThread. | 291 // which gets posted by calling certain member functions of IOThread. |
292 scoped_ptr<net::ProxyConfigService> system_proxy_config_service_; | 292 scoped_ptr<net::ProxyConfigService> system_proxy_config_service_; |
293 | 293 |
294 scoped_ptr<PrefProxyConfigTrackerImpl> pref_proxy_config_tracker_; | 294 scoped_ptr<PrefProxyConfigTrackerImpl> pref_proxy_config_tracker_; |
295 | 295 |
296 scoped_refptr<net::URLRequestContextGetter> | 296 scoped_refptr<net::URLRequestContextGetter> |
297 system_url_request_context_getter_; | 297 system_url_request_context_getter_; |
298 | 298 |
299 net::SdchManager* sdch_manager_; | 299 net::SdchManager* sdch_manager_; |
300 | 300 |
301 // True if SPDY is disabled by policy. | 301 // True if SPDY is disabled by policy. |
302 bool is_spdy_disabled_by_policy_; | 302 bool is_spdy_disabled_by_policy_; |
303 | 303 |
304 base::WeakPtrFactory<IOThread> weak_factory_; | 304 base::WeakPtrFactory<IOThread> weak_factory_; |
305 | 305 |
306 DISALLOW_COPY_AND_ASSIGN(IOThread); | 306 DISALLOW_COPY_AND_ASSIGN(IOThread); |
307 }; | 307 }; |
308 | 308 |
309 #endif // CHROME_BROWSER_IO_THREAD_H_ | 309 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |