OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // This class gathers state related to a single user profile. | 5 // This class gathers state related to a single user profile. |
6 | 6 |
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/timer.h" | 16 #include "base/timer.h" |
17 #include "chrome/browser/prefs/pref_change_registrar.h" | 17 #include "chrome/browser/prefs/pref_change_registrar.h" |
18 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/browser/profiles/profile_impl_io_data.h" | 19 #include "chrome/browser/profiles/profile_impl_io_data.h" |
20 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
21 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
22 | 22 |
23 class ExtensionNavigationObserver; | 23 class ExtensionNavigationObserver; |
24 class ExtensionPrefs; | 24 class ExtensionPrefs; |
25 class ExtensionPrefValueMap; | 25 class ExtensionPrefValueMap; |
26 class NetPrefObserver; | 26 class NetPrefObserver; |
27 class PrefService; | 27 class PrefService; |
28 class ProfileSyncFactory; | 28 class ProfileSyncComponentsFactory; |
29 class PromoResourceService; | 29 class PromoResourceService; |
30 class SpeechInputPreferences; | 30 class SpeechInputPreferences; |
31 class SpellCheckProfile; | 31 class SpellCheckProfile; |
32 class SSLConfigServiceManager; | 32 class SSLConfigServiceManager; |
33 class VisitedLinkEventListener; | 33 class VisitedLinkEventListener; |
34 | 34 |
35 #if defined(OS_CHROMEOS) | 35 #if defined(OS_CHROMEOS) |
36 namespace chromeos { | 36 namespace chromeos { |
37 class EnterpriseExtensionObserver; | 37 class EnterpriseExtensionObserver; |
38 class LocaleChangeGuard; | 38 class LocaleChangeGuard; |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 scoped_refptr<ExtensionSpecialStoragePolicy> | 221 scoped_refptr<ExtensionSpecialStoragePolicy> |
222 extension_special_storage_policy_; | 222 extension_special_storage_policy_; |
223 scoped_ptr<SSLHostState> ssl_host_state_; | 223 scoped_ptr<SSLHostState> ssl_host_state_; |
224 scoped_ptr<NetPrefObserver> net_pref_observer_; | 224 scoped_ptr<NetPrefObserver> net_pref_observer_; |
225 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; | 225 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; |
226 scoped_ptr<BookmarkModel> bookmark_bar_model_; | 226 scoped_ptr<BookmarkModel> bookmark_bar_model_; |
227 scoped_refptr<PromoResourceService> promo_resource_service_; | 227 scoped_refptr<PromoResourceService> promo_resource_service_; |
228 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; | 228 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; |
229 | 229 |
230 scoped_ptr<TokenService> token_service_; | 230 scoped_ptr<TokenService> token_service_; |
231 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; | 231 scoped_ptr<ProfileSyncComponentsFactory> profile_sync_factory_; |
232 scoped_ptr<ProfileSyncService> sync_service_; | 232 scoped_ptr<ProfileSyncService> sync_service_; |
233 | 233 |
234 ProfileImplIOData::Handle io_data_; | 234 ProfileImplIOData::Handle io_data_; |
235 | 235 |
236 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 236 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
237 | 237 |
238 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 238 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
239 scoped_refptr<HostZoomMap> host_zoom_map_; | 239 scoped_refptr<HostZoomMap> host_zoom_map_; |
240 scoped_refptr<GeolocationPermissionContext> | 240 scoped_refptr<GeolocationPermissionContext> |
241 geolocation_permission_context_; | 241 geolocation_permission_context_; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 300 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
301 | 301 |
302 Profile::Delegate* delegate_; | 302 Profile::Delegate* delegate_; |
303 | 303 |
304 chrome_browser_net::Predictor* predictor_; | 304 chrome_browser_net::Predictor* predictor_; |
305 | 305 |
306 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 306 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
307 }; | 307 }; |
308 | 308 |
309 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 309 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |