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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 namespace chromeos { | 48 namespace chromeos { |
49 class CertificateProvider; | 49 class CertificateProvider; |
50 } | 50 } |
51 | 51 |
52 namespace chrome_browser_net { | 52 namespace chrome_browser_net { |
53 class ResourcePrefetchPredictorObserver; | 53 class ResourcePrefetchPredictorObserver; |
54 } | 54 } |
55 | 55 |
56 namespace certificate_transparency { | 56 namespace certificate_transparency { |
| 57 class CTPolicyManager; |
57 class TreeStateTracker; | 58 class TreeStateTracker; |
58 } | 59 } |
59 | 60 |
60 namespace content_settings { | 61 namespace content_settings { |
61 class CookieSettings; | 62 class CookieSettings; |
62 } | 63 } |
63 | 64 |
64 namespace data_reduction_proxy { | 65 namespace data_reduction_proxy { |
65 class DataReductionProxyIOData; | 66 class DataReductionProxyIOData; |
66 } | 67 } |
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 #if defined(OS_CHROMEOS) | 575 #if defined(OS_CHROMEOS) |
575 // Set to |cert_verifier_| if it references a PolicyCertVerifier. In that | 576 // Set to |cert_verifier_| if it references a PolicyCertVerifier. In that |
576 // case, the verifier is owned by |cert_verifier_|. Otherwise, set to NULL. | 577 // case, the verifier is owned by |cert_verifier_|. Otherwise, set to NULL. |
577 mutable std::unique_ptr<net::CertVerifier> cert_verifier_; | 578 mutable std::unique_ptr<net::CertVerifier> cert_verifier_; |
578 mutable policy::PolicyCertVerifier* policy_cert_verifier_; | 579 mutable policy::PolicyCertVerifier* policy_cert_verifier_; |
579 mutable std::string username_hash_; | 580 mutable std::string username_hash_; |
580 mutable bool use_system_key_slot_; | 581 mutable bool use_system_key_slot_; |
581 mutable std::unique_ptr<chromeos::CertificateProvider> certificate_provider_; | 582 mutable std::unique_ptr<chromeos::CertificateProvider> certificate_provider_; |
582 #endif | 583 #endif |
583 | 584 |
| 585 // Pointed to by the TransportSecurityState. |
584 mutable std::unique_ptr<net::TransportSecurityPersister> | 586 mutable std::unique_ptr<net::TransportSecurityPersister> |
585 transport_security_persister_; | 587 transport_security_persister_; |
586 mutable std::unique_ptr<net::ReportSender> certificate_report_sender_; | 588 mutable std::unique_ptr<net::ReportSender> certificate_report_sender_; |
| 589 mutable std::unique_ptr<certificate_transparency::CTPolicyManager> |
| 590 ct_policy_manager_; |
587 | 591 |
588 // These are only valid in between LazyInitialize() and their accessor being | 592 // These are only valid in between LazyInitialize() and their accessor being |
589 // called. | 593 // called. |
590 mutable std::unique_ptr<net::URLRequestContext> main_request_context_; | 594 mutable std::unique_ptr<net::URLRequestContext> main_request_context_; |
591 mutable std::unique_ptr<net::URLRequestContext> extensions_request_context_; | 595 mutable std::unique_ptr<net::URLRequestContext> extensions_request_context_; |
592 // One URLRequestContext per isolated app for main and media requests. | 596 // One URLRequestContext per isolated app for main and media requests. |
593 mutable URLRequestContextMap app_request_context_map_; | 597 mutable URLRequestContextMap app_request_context_map_; |
594 mutable URLRequestContextMap isolated_media_request_context_map_; | 598 mutable URLRequestContextMap isolated_media_request_context_map_; |
595 | 599 |
596 mutable std::unique_ptr<ResourceContext> resource_context_; | 600 mutable std::unique_ptr<ResourceContext> resource_context_; |
(...skipping 24 matching lines...) Expand all Loading... |
621 mutable std::unique_ptr<certificate_transparency::TreeStateTracker> | 625 mutable std::unique_ptr<certificate_transparency::TreeStateTracker> |
622 ct_tree_tracker_; | 626 ct_tree_tracker_; |
623 mutable base::Closure ct_tree_tracker_unregistration_; | 627 mutable base::Closure ct_tree_tracker_unregistration_; |
624 | 628 |
625 const Profile::ProfileType profile_type_; | 629 const Profile::ProfileType profile_type_; |
626 | 630 |
627 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 631 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
628 }; | 632 }; |
629 | 633 |
630 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 634 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
OLD | NEW |