Chromium Code Reviews| 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 |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 28 class SpellCheckProfile; | 28 class SpellCheckProfile; |
| 29 | 29 |
| 30 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
| 31 namespace chromeos { | 31 namespace chromeos { |
| 32 class EnterpriseExtensionObserver; | 32 class EnterpriseExtensionObserver; |
| 33 class LocaleChangeGuard; | 33 class LocaleChangeGuard; |
| 34 class Preferences; | 34 class Preferences; |
| 35 } | 35 } |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 namespace protector { | |
| 39 class Protector; | |
| 40 } | |
| 41 | |
| 38 // The default profile implementation. | 42 // The default profile implementation. |
| 39 class ProfileImpl : public Profile, | 43 class ProfileImpl : public Profile, |
| 40 public content::NotificationObserver { | 44 public content::NotificationObserver { |
| 41 public: | 45 public: |
| 42 virtual ~ProfileImpl(); | 46 virtual ~ProfileImpl(); |
| 43 | 47 |
| 44 static void RegisterUserPrefs(PrefService* prefs); | 48 static void RegisterUserPrefs(PrefService* prefs); |
| 45 | 49 |
| 46 // content::BrowserContext implementation: | 50 // content::BrowserContext implementation: |
| 47 virtual FilePath GetPath() OVERRIDE; | 51 virtual FilePath GetPath() OVERRIDE; |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 284 #endif | 288 #endif |
| 285 | 289 |
| 286 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 290 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 287 | 291 |
| 288 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 292 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
| 289 | 293 |
| 290 Profile::Delegate* delegate_; | 294 Profile::Delegate* delegate_; |
| 291 | 295 |
| 292 chrome_browser_net::Predictor* predictor_; | 296 chrome_browser_net::Predictor* predictor_; |
| 293 | 297 |
| 298 scoped_ptr<protector::Protector> protector_; | |
|
sky
2011/10/21 17:20:30
You'll need to run this by Elliott. We're moving t
whywhat
2011/10/21 20:31:53
Move this off Profile
| |
| 299 | |
| 294 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 300 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 295 }; | 301 }; |
| 296 | 302 |
| 297 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 303 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |