| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 #if defined(OS_ANDROID) | 376 #if defined(OS_ANDROID) |
| 377 StringPrefMember auth_android_negotiate_account_type_; | 377 StringPrefMember auth_android_negotiate_account_type_; |
| 378 #endif | 378 #endif |
| 379 #if defined(OS_POSIX) && !defined(OS_ANDROID) | 379 #if defined(OS_POSIX) && !defined(OS_ANDROID) |
| 380 // No PrefMember for the GSSAPI library name, since changing it after startup | 380 // No PrefMember for the GSSAPI library name, since changing it after startup |
| 381 // requires unloading the existing GSSAPI library, which could cause all sorts | 381 // requires unloading the existing GSSAPI library, which could cause all sorts |
| 382 // of problems for, for example, active Negotiate transactions. | 382 // of problems for, for example, active Negotiate transactions. |
| 383 std::string gssapi_library_name_; | 383 std::string gssapi_library_name_; |
| 384 #endif | 384 #endif |
| 385 | 385 |
| 386 #if defined(OS_CHROMEOS) |
| 387 bool allow_gssapi_library_load_; |
| 388 #endif |
| 389 |
| 386 // This is an instance of the default SSLConfigServiceManager for the current | 390 // This is an instance of the default SSLConfigServiceManager for the current |
| 387 // platform and it gets SSL preferences from local_state object. | 391 // platform and it gets SSL preferences from local_state object. |
| 388 std::unique_ptr<ssl_config::SSLConfigServiceManager> | 392 std::unique_ptr<ssl_config::SSLConfigServiceManager> |
| 389 ssl_config_service_manager_; | 393 ssl_config_service_manager_; |
| 390 | 394 |
| 391 // These member variables are initialized by a task posted to the IO thread, | 395 // These member variables are initialized by a task posted to the IO thread, |
| 392 // which gets posted by calling certain member functions of IOThread. | 396 // which gets posted by calling certain member functions of IOThread. |
| 393 std::unique_ptr<net::ProxyConfigService> system_proxy_config_service_; | 397 std::unique_ptr<net::ProxyConfigService> system_proxy_config_service_; |
| 394 | 398 |
| 395 std::unique_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 399 std::unique_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 396 | 400 |
| 397 scoped_refptr<net::URLRequestContextGetter> | 401 scoped_refptr<net::URLRequestContextGetter> |
| 398 system_url_request_context_getter_; | 402 system_url_request_context_getter_; |
| 399 | 403 |
| 400 // True if QUIC is allowed by policy. | 404 // True if QUIC is allowed by policy. |
| 401 bool is_quic_allowed_by_policy_; | 405 bool is_quic_allowed_by_policy_; |
| 402 | 406 |
| 403 // True if HTTP/0.9 is allowed on non-default ports by policy. | 407 // True if HTTP/0.9 is allowed on non-default ports by policy. |
| 404 bool http_09_on_non_default_ports_enabled_; | 408 bool http_09_on_non_default_ports_enabled_; |
| 405 | 409 |
| 406 const base::TimeTicks creation_time_; | 410 const base::TimeTicks creation_time_; |
| 407 | 411 |
| 408 base::WeakPtrFactory<IOThread> weak_factory_; | 412 base::WeakPtrFactory<IOThread> weak_factory_; |
| 409 | 413 |
| 410 DISALLOW_COPY_AND_ASSIGN(IOThread); | 414 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 411 }; | 415 }; |
| 412 | 416 |
| 413 #endif // CHROME_BROWSER_IO_THREAD_H_ | 417 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |