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 23 matching lines...) Expand all Loading... |
34 #include "net/http/http_network_session.h" | 34 #include "net/http/http_network_session.h" |
35 #include "net/url_request/url_request_context.h" | 35 #include "net/url_request/url_request_context.h" |
36 #include "net/url_request/url_request_interceptor.h" | 36 #include "net/url_request/url_request_interceptor.h" |
37 #include "net/url_request/url_request_job_factory.h" | 37 #include "net/url_request/url_request_job_factory.h" |
38 | 38 |
39 class ChromeHttpUserAgentSettings; | 39 class ChromeHttpUserAgentSettings; |
40 class ChromeNetworkDelegate; | 40 class ChromeNetworkDelegate; |
41 class ChromeURLRequestContextGetter; | 41 class ChromeURLRequestContextGetter; |
42 class ChromeExpectCTReporter; | 42 class ChromeExpectCTReporter; |
43 class HostContentSettingsMap; | 43 class HostContentSettingsMap; |
44 class MediaDeviceIDSalt; | |
45 class ProtocolHandlerRegistry; | 44 class ProtocolHandlerRegistry; |
46 class SupervisedUserURLFilter; | 45 class SupervisedUserURLFilter; |
47 | 46 |
48 namespace chromeos { | 47 namespace chromeos { |
49 class CertificateProvider; | 48 class CertificateProvider; |
50 } | 49 } |
51 | 50 |
52 namespace chrome_browser_net { | 51 namespace chrome_browser_net { |
53 class ResourcePrefetchPredictorObserver; | 52 class ResourcePrefetchPredictorObserver; |
54 } | 53 } |
55 | 54 |
56 namespace content_settings { | 55 namespace content_settings { |
57 class CookieSettings; | 56 class CookieSettings; |
58 } | 57 } |
59 | 58 |
60 namespace data_reduction_proxy { | 59 namespace data_reduction_proxy { |
61 class DataReductionProxyIOData; | 60 class DataReductionProxyIOData; |
62 } | 61 } |
63 | 62 |
64 namespace extensions { | 63 namespace extensions { |
65 class ExtensionThrottleManager; | 64 class ExtensionThrottleManager; |
66 class InfoMap; | 65 class InfoMap; |
67 } | 66 } |
68 | 67 |
| 68 namespace media_device_id_salt { |
| 69 class MediaDeviceIDSalt; |
| 70 } |
| 71 |
69 namespace net { | 72 namespace net { |
70 class CertificateReportSender; | 73 class CertificateReportSender; |
71 class CertVerifier; | 74 class CertVerifier; |
72 class ChannelIDService; | 75 class ChannelIDService; |
73 class CookieStore; | 76 class CookieStore; |
74 class FtpTransactionFactory; | 77 class FtpTransactionFactory; |
75 class HttpServerProperties; | 78 class HttpServerProperties; |
76 class HttpTransactionFactory; | 79 class HttpTransactionFactory; |
77 class ProxyConfigService; | 80 class ProxyConfigService; |
78 class ProxyService; | 81 class ProxyService; |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 // Data from the UI thread from the Profile, used to initialize ProfileIOData. | 510 // Data from the UI thread from the Profile, used to initialize ProfileIOData. |
508 // Deleted after lazy initialization. | 511 // Deleted after lazy initialization. |
509 mutable std::unique_ptr<ProfileParams> profile_params_; | 512 mutable std::unique_ptr<ProfileParams> profile_params_; |
510 | 513 |
511 // Used for testing. | 514 // Used for testing. |
512 mutable base::Callback<std::unique_ptr<net::ClientCertStore>()> | 515 mutable base::Callback<std::unique_ptr<net::ClientCertStore>()> |
513 client_cert_store_factory_; | 516 client_cert_store_factory_; |
514 | 517 |
515 mutable StringPrefMember google_services_user_account_id_; | 518 mutable StringPrefMember google_services_user_account_id_; |
516 | 519 |
517 mutable scoped_refptr<MediaDeviceIDSalt> media_device_id_salt_; | 520 mutable scoped_refptr<media_device_id_salt::MediaDeviceIDSalt> |
| 521 media_device_id_salt_; |
518 | 522 |
519 // Member variables which are pointed to by the various context objects. | 523 // Member variables which are pointed to by the various context objects. |
520 mutable BooleanPrefMember enable_referrers_; | 524 mutable BooleanPrefMember enable_referrers_; |
521 mutable BooleanPrefMember enable_do_not_track_; | 525 mutable BooleanPrefMember enable_do_not_track_; |
522 mutable BooleanPrefMember force_google_safesearch_; | 526 mutable BooleanPrefMember force_google_safesearch_; |
523 mutable BooleanPrefMember force_youtube_safety_mode_; | 527 mutable BooleanPrefMember force_youtube_safety_mode_; |
524 mutable BooleanPrefMember safe_browsing_enabled_; | 528 mutable BooleanPrefMember safe_browsing_enabled_; |
525 mutable BooleanPrefMember sync_disabled_; | 529 mutable BooleanPrefMember sync_disabled_; |
526 mutable BooleanPrefMember signin_allowed_; | 530 mutable BooleanPrefMember signin_allowed_; |
527 mutable IntegerPrefMember network_prediction_options_; | 531 mutable IntegerPrefMember network_prediction_options_; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 | 605 |
602 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 606 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
603 bool initialized_on_UI_thread_; | 607 bool initialized_on_UI_thread_; |
604 | 608 |
605 const Profile::ProfileType profile_type_; | 609 const Profile::ProfileType profile_type_; |
606 | 610 |
607 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 611 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
608 }; | 612 }; |
609 | 613 |
610 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 614 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
OLD | NEW |