| 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_PROFILES_PROFILE_IO_DATA_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
| 14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/prefs/pref_member.h" | 18 #include "base/prefs/pref_member.h" |
| 19 #include "base/synchronization/lock.h" | 19 #include "base/synchronization/lock.h" |
| 20 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 20 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
| 21 #include "chrome/browser/devtools/devtools_network_controller_handle.h" | 21 #include "chrome/browser/devtools/devtools_network_controller_handle.h" |
| 22 #include "chrome/browser/io_thread.h" | 22 #include "chrome/browser/io_thread.h" |
| 23 #include "chrome/browser/profiles/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
| 24 #include "chrome/browser/profiles/storage_partition_descriptor.h" | 24 #include "chrome/browser/profiles/storage_partition_descriptor.h" |
| 25 #include "components/content_settings/core/common/content_settings_types.h" | 25 #include "components/content_settings/core/common/content_settings_types.h" |
| 26 #include "content/public/browser/content_browser_client.h" | 26 #include "content/public/browser/content_browser_client.h" |
| 27 #include "content/public/browser/resource_context.h" | 27 #include "content/public/browser/resource_context.h" |
| 28 #include "net/cert/ct_verifier.h" |
| 28 #include "net/cookies/cookie_monster.h" | 29 #include "net/cookies/cookie_monster.h" |
| 29 #include "net/http/http_cache.h" | 30 #include "net/http/http_cache.h" |
| 30 #include "net/http/http_network_session.h" | 31 #include "net/http/http_network_session.h" |
| 31 #include "net/url_request/url_request_context.h" | 32 #include "net/url_request/url_request_context.h" |
| 32 #include "net/url_request/url_request_interceptor.h" | 33 #include "net/url_request/url_request_interceptor.h" |
| 33 #include "net/url_request/url_request_job_factory.h" | 34 #include "net/url_request/url_request_job_factory.h" |
| 34 | 35 |
| 35 class ChromeHttpUserAgentSettings; | 36 class ChromeHttpUserAgentSettings; |
| 36 class ChromeNetworkDelegate; | 37 class ChromeNetworkDelegate; |
| 37 class ChromeURLRequestContextGetter; | 38 class ChromeURLRequestContextGetter; |
| (...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 #if defined(ENABLE_EXTENSIONS) | 543 #if defined(ENABLE_EXTENSIONS) |
| 543 mutable scoped_refptr<extensions::InfoMap> extension_info_map_; | 544 mutable scoped_refptr<extensions::InfoMap> extension_info_map_; |
| 544 #endif | 545 #endif |
| 545 mutable scoped_ptr<net::ChannelIDService> channel_id_service_; | 546 mutable scoped_ptr<net::ChannelIDService> channel_id_service_; |
| 546 | 547 |
| 547 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> | 548 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> |
| 548 data_reduction_proxy_io_data_; | 549 data_reduction_proxy_io_data_; |
| 549 | 550 |
| 550 mutable scoped_ptr<net::ProxyService> proxy_service_; | 551 mutable scoped_ptr<net::ProxyService> proxy_service_; |
| 551 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; | 552 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; |
| 553 mutable scoped_ptr<net::CTVerifier> cert_transparency_verifier_; |
| 552 mutable scoped_ptr<net::HttpServerProperties> | 554 mutable scoped_ptr<net::HttpServerProperties> |
| 553 http_server_properties_; | 555 http_server_properties_; |
| 554 #if defined(OS_CHROMEOS) | 556 #if defined(OS_CHROMEOS) |
| 555 // Set to |cert_verifier_| if it references a PolicyCertVerifier. In that | 557 // Set to |cert_verifier_| if it references a PolicyCertVerifier. In that |
| 556 // case, the verifier is owned by |cert_verifier_|. Otherwise, set to NULL. | 558 // case, the verifier is owned by |cert_verifier_|. Otherwise, set to NULL. |
| 557 mutable scoped_ptr<net::CertVerifier> cert_verifier_; | 559 mutable scoped_ptr<net::CertVerifier> cert_verifier_; |
| 558 mutable policy::PolicyCertVerifier* policy_cert_verifier_; | 560 mutable policy::PolicyCertVerifier* policy_cert_verifier_; |
| 559 mutable std::string username_hash_; | 561 mutable std::string username_hash_; |
| 560 mutable bool use_system_key_slot_; | 562 mutable bool use_system_key_slot_; |
| 561 mutable scoped_ptr<chromeos::CertificateProvider> certificate_provider_; | 563 mutable scoped_ptr<chromeos::CertificateProvider> certificate_provider_; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 | 602 |
| 601 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 603 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
| 602 bool initialized_on_UI_thread_; | 604 bool initialized_on_UI_thread_; |
| 603 | 605 |
| 604 const Profile::ProfileType profile_type_; | 606 const Profile::ProfileType profile_type_; |
| 605 | 607 |
| 606 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 608 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 607 }; | 609 }; |
| 608 | 610 |
| 609 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 611 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |