| 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 // 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 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 virtual ExitType GetLastSessionExitType() OVERRIDE; | 132 virtual ExitType GetLastSessionExitType() OVERRIDE; |
| 133 | 133 |
| 134 #if defined(OS_CHROMEOS) | 134 #if defined(OS_CHROMEOS) |
| 135 virtual void ChangeAppLocale(const std::string& locale, | 135 virtual void ChangeAppLocale(const std::string& locale, |
| 136 AppLocaleChangedVia) OVERRIDE; | 136 AppLocaleChangedVia) OVERRIDE; |
| 137 virtual void OnLogin() OVERRIDE; | 137 virtual void OnLogin() OVERRIDE; |
| 138 virtual void InitChromeOSPreferences() OVERRIDE; | 138 virtual void InitChromeOSPreferences() OVERRIDE; |
| 139 #endif // defined(OS_CHROMEOS) | 139 #endif // defined(OS_CHROMEOS) |
| 140 | 140 |
| 141 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 141 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; |
| 142 virtual content::WakeLockPermissionContext* |
| 143 GetWakeLockPermissionContext() OVERRIDE; |
| 142 | 144 |
| 143 private: | 145 private: |
| 144 #if defined(OS_CHROMEOS) | 146 #if defined(OS_CHROMEOS) |
| 145 friend class chromeos::KioskTest; | 147 friend class chromeos::KioskTest; |
| 146 friend class chromeos::ManagedUserTestBase; | 148 friend class chromeos::ManagedUserTestBase; |
| 147 #endif | 149 #endif |
| 148 friend class Profile; | 150 friend class Profile; |
| 149 friend class BetterSessionRestoreCrashTest; | 151 friend class BetterSessionRestoreCrashTest; |
| 150 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, | 152 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, |
| 151 ProfilesLaunchedAfterCrash); | 153 ProfilesLaunchedAfterCrash); |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 // components/keyed_service/content/browser_context_keyed_service_factory.* | 284 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 283 | 285 |
| 284 Profile::Delegate* delegate_; | 286 Profile::Delegate* delegate_; |
| 285 | 287 |
| 286 chrome_browser_net::Predictor* predictor_; | 288 chrome_browser_net::Predictor* predictor_; |
| 287 | 289 |
| 288 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 290 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 289 }; | 291 }; |
| 290 | 292 |
| 291 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 293 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |