| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILE_IMPL_H_ |
| 8 #define CHROME_BROWSER_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILE_IMPL_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/timer.h" | 14 #include "base/timer.h" |
| 15 #include "chrome/browser/profile.h" | 15 #include "chrome/browser/profile.h" |
| 16 #include "chrome/browser/prefs/pref_change_registrar.h" | 16 #include "chrome/browser/prefs/pref_change_registrar.h" |
| 17 #include "chrome/browser/spellcheck_host_observer.h" | 17 #include "chrome/browser/spellcheck_host_observer.h" |
| 18 #include "chrome/common/notification_observer.h" | 18 #include "chrome/common/notification_observer.h" |
| 19 #include "chrome/common/notification_registrar.h" | 19 #include "chrome/common/notification_registrar.h" |
| 20 | 20 |
| 21 class PrefService; | 21 class PrefService; |
| 22 class ExtensionPrefs; |
| 22 | 23 |
| 23 #if defined(OS_CHROMEOS) | 24 #if defined(OS_CHROMEOS) |
| 24 namespace chromeos { | 25 namespace chromeos { |
| 25 class Preferences; | 26 class Preferences; |
| 26 } | 27 } |
| 27 #endif | 28 #endif |
| 28 | 29 |
| 29 class NetPrefObserver; | 30 class NetPrefObserver; |
| 30 | 31 |
| 31 // The default profile implementation. | 32 // The default profile implementation. |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 | 270 |
| 270 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | 271 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. |
| 271 | 272 |
| 272 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; | 273 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
| 273 | 274 |
| 274 scoped_refptr<ExtensionInfoMap> extension_info_map_; | 275 scoped_refptr<ExtensionInfoMap> extension_info_map_; |
| 275 | 276 |
| 276 scoped_ptr<policy::DeviceManagementPolicyProvider> | 277 scoped_ptr<policy::DeviceManagementPolicyProvider> |
| 277 device_management_policy_provider_; | 278 device_management_policy_provider_; |
| 278 | 279 |
| 280 // This is a temporary pointer that contains the ExtensionPrefs until their |
| 281 // ownership can be passed off to the ExtensionService. |
| 282 scoped_ptr<ExtensionPrefs> tmp_extension_prefs_; |
| 283 |
| 279 #if defined(OS_CHROMEOS) | 284 #if defined(OS_CHROMEOS) |
| 280 scoped_ptr<chromeos::Preferences> chromeos_preferences_; | 285 scoped_ptr<chromeos::Preferences> chromeos_preferences_; |
| 281 | 286 |
| 282 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 287 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 283 chromeos_proxy_config_service_impl_; | 288 chromeos_proxy_config_service_impl_; |
| 284 #endif | 289 #endif |
| 285 | 290 |
| 286 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 291 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 287 }; | 292 }; |
| 288 | 293 |
| 289 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ | 294 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ |
| OLD | NEW |