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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "net/http/http_network_session.h" | 26 #include "net/http/http_network_session.h" |
27 #include "net/url_request/url_request_job_factory.h" | 27 #include "net/url_request/url_request_job_factory.h" |
28 | 28 |
29 class ChromeHttpUserAgentSettings; | 29 class ChromeHttpUserAgentSettings; |
30 class ChromeNetworkDelegate; | 30 class ChromeNetworkDelegate; |
31 class CookieSettings; | 31 class CookieSettings; |
32 class DesktopNotificationService; | 32 class DesktopNotificationService; |
33 class ExtensionInfoMap; | 33 class ExtensionInfoMap; |
34 class HostContentSettingsMap; | 34 class HostContentSettingsMap; |
35 class ManagedModeURLFilter; | 35 class ManagedModeURLFilter; |
| 36 class MediaDeviceIDSalt; |
36 class Profile; | 37 class Profile; |
37 class ProtocolHandlerRegistry; | 38 class ProtocolHandlerRegistry; |
38 class SigninNamesOnIOThread; | 39 class SigninNamesOnIOThread; |
39 class TransportSecurityPersister; | 40 class TransportSecurityPersister; |
40 | 41 |
41 namespace chrome_browser_net { | 42 namespace chrome_browser_net { |
42 class LoadTimeStats; | 43 class LoadTimeStats; |
43 class ResourcePrefetchPredictorObserver; | 44 class ResourcePrefetchPredictorObserver; |
44 } | 45 } |
45 | 46 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 } | 167 } |
167 | 168 |
168 BooleanPrefMember* sync_disabled() const { | 169 BooleanPrefMember* sync_disabled() const { |
169 return &sync_disabled_; | 170 return &sync_disabled_; |
170 } | 171 } |
171 | 172 |
172 BooleanPrefMember* signin_allowed() const { | 173 BooleanPrefMember* signin_allowed() const { |
173 return &signin_allowed_; | 174 return &signin_allowed_; |
174 } | 175 } |
175 | 176 |
| 177 const std::string& media_device_id_salt() const; |
| 178 |
176 net::TransportSecurityState* transport_security_state() const { | 179 net::TransportSecurityState* transport_security_state() const { |
177 return transport_security_state_.get(); | 180 return transport_security_state_.get(); |
178 } | 181 } |
179 | 182 |
180 bool is_incognito() const { | 183 bool is_incognito() const { |
181 return is_incognito_; | 184 return is_incognito_; |
182 } | 185 } |
183 | 186 |
184 chrome_browser_net::ResourcePrefetchPredictorObserver* | 187 chrome_browser_net::ResourcePrefetchPredictorObserver* |
185 resource_prefetch_predictor_observer() const { | 188 resource_prefetch_predictor_observer() const { |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 525 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
523 | 526 |
524 mutable scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver> | 527 mutable scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver> |
525 resource_prefetch_predictor_observer_; | 528 resource_prefetch_predictor_observer_; |
526 | 529 |
527 mutable scoped_ptr<ChromeHttpUserAgentSettings> | 530 mutable scoped_ptr<ChromeHttpUserAgentSettings> |
528 chrome_http_user_agent_settings_; | 531 chrome_http_user_agent_settings_; |
529 | 532 |
530 mutable chrome_browser_net::LoadTimeStats* load_time_stats_; | 533 mutable chrome_browser_net::LoadTimeStats* load_time_stats_; |
531 | 534 |
| 535 mutable scoped_ptr<MediaDeviceIDSalt> media_device_id_salt_; |
| 536 |
532 #if defined(ENABLE_MANAGED_USERS) | 537 #if defined(ENABLE_MANAGED_USERS) |
533 mutable scoped_refptr<const ManagedModeURLFilter> managed_mode_url_filter_; | 538 mutable scoped_refptr<const ManagedModeURLFilter> managed_mode_url_filter_; |
534 #endif | 539 #endif |
535 | 540 |
536 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 541 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
537 bool initialized_on_UI_thread_; | 542 bool initialized_on_UI_thread_; |
538 | 543 |
539 bool is_incognito_; | 544 bool is_incognito_; |
540 | 545 |
541 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 546 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
542 }; | 547 }; |
543 | 548 |
544 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 549 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
OLD | NEW |