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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 #if defined(ENABLE_EXTENSIONS) | 536 #if defined(ENABLE_EXTENSIONS) |
536 mutable scoped_refptr<extensions::InfoMap> extension_info_map_; | 537 mutable scoped_refptr<extensions::InfoMap> extension_info_map_; |
537 #endif | 538 #endif |
538 mutable scoped_ptr<net::ChannelIDService> channel_id_service_; | 539 mutable scoped_ptr<net::ChannelIDService> channel_id_service_; |
539 | 540 |
540 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> | 541 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> |
541 data_reduction_proxy_io_data_; | 542 data_reduction_proxy_io_data_; |
542 | 543 |
543 mutable scoped_ptr<net::ProxyService> proxy_service_; | 544 mutable scoped_ptr<net::ProxyService> proxy_service_; |
544 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; | 545 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; |
| 546 mutable scoped_ptr<net::CTVerifier> cert_transparency_verifier_; |
545 mutable scoped_ptr<net::HttpServerProperties> | 547 mutable scoped_ptr<net::HttpServerProperties> |
546 http_server_properties_; | 548 http_server_properties_; |
547 #if defined(OS_CHROMEOS) | 549 #if defined(OS_CHROMEOS) |
548 // Set to |cert_verifier_| if it references a PolicyCertVerifier. In that | 550 // Set to |cert_verifier_| if it references a PolicyCertVerifier. In that |
549 // case, the verifier is owned by |cert_verifier_|. Otherwise, set to NULL. | 551 // case, the verifier is owned by |cert_verifier_|. Otherwise, set to NULL. |
550 mutable scoped_ptr<net::CertVerifier> cert_verifier_; | 552 mutable scoped_ptr<net::CertVerifier> cert_verifier_; |
551 mutable policy::PolicyCertVerifier* policy_cert_verifier_; | 553 mutable policy::PolicyCertVerifier* policy_cert_verifier_; |
552 mutable std::string username_hash_; | 554 mutable std::string username_hash_; |
553 mutable bool use_system_key_slot_; | 555 mutable bool use_system_key_slot_; |
554 mutable scoped_ptr<chromeos::CertificateProvider> certificate_provider_; | 556 mutable scoped_ptr<chromeos::CertificateProvider> certificate_provider_; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 | 595 |
594 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 596 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
595 bool initialized_on_UI_thread_; | 597 bool initialized_on_UI_thread_; |
596 | 598 |
597 const Profile::ProfileType profile_type_; | 599 const Profile::ProfileType profile_type_; |
598 | 600 |
599 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 601 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
600 }; | 602 }; |
601 | 603 |
602 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 604 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
OLD | NEW |