| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 virtual GURL GetHomePage() OVERRIDE; | 128 virtual GURL GetHomePage() OVERRIDE; |
| 129 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 129 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
| 130 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 130 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
| 131 virtual ExitType GetLastSessionExitType() OVERRIDE; | 131 virtual ExitType GetLastSessionExitType() OVERRIDE; |
| 132 | 132 |
| 133 #if defined(OS_CHROMEOS) | 133 #if defined(OS_CHROMEOS) |
| 134 virtual void ChangeAppLocale(const std::string& locale, | 134 virtual void ChangeAppLocale(const std::string& locale, |
| 135 AppLocaleChangedVia) OVERRIDE; | 135 AppLocaleChangedVia) OVERRIDE; |
| 136 virtual void OnLogin() OVERRIDE; | 136 virtual void OnLogin() OVERRIDE; |
| 137 virtual void InitChromeOSPreferences() OVERRIDE; | 137 virtual void InitChromeOSPreferences() OVERRIDE; |
| 138 virtual bool IsLoginProfile() OVERRIDE; | |
| 139 #endif // defined(OS_CHROMEOS) | 138 #endif // defined(OS_CHROMEOS) |
| 140 | 139 |
| 141 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 140 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; |
| 142 | 141 |
| 143 private: | 142 private: |
| 144 friend class Profile; | 143 friend class Profile; |
| 145 friend class BetterSessionRestoreCrashTest; | 144 friend class BetterSessionRestoreCrashTest; |
| 146 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, | 145 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, |
| 147 ProfilesLaunchedAfterCrash); | 146 ProfilesLaunchedAfterCrash); |
| 148 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, ProfileReadmeCreated); | 147 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, ProfileReadmeCreated); |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 // components/browser_context_keyed_service/browser_context_keyed_service_fa
ctory.{h,cc} | 273 // components/browser_context_keyed_service/browser_context_keyed_service_fa
ctory.{h,cc} |
| 275 | 274 |
| 276 Profile::Delegate* delegate_; | 275 Profile::Delegate* delegate_; |
| 277 | 276 |
| 278 chrome_browser_net::Predictor* predictor_; | 277 chrome_browser_net::Predictor* predictor_; |
| 279 | 278 |
| 280 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 279 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 281 }; | 280 }; |
| 282 | 281 |
| 283 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 282 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |