OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 private: | 127 private: |
128 friend class DeviceSettingsTestBase; | 128 friend class DeviceSettingsTestBase; |
129 friend class extensions::ExtensionGarbageCollectorChromeOSUnitTest; | 129 friend class extensions::ExtensionGarbageCollectorChromeOSUnitTest; |
130 friend class FakeUserManager; | 130 friend class FakeUserManager; |
131 friend class KioskTest; | 131 friend class KioskTest; |
132 friend class MockUserManager; | 132 friend class MockUserManager; |
133 friend class MultiProfileUserControllerTest; | 133 friend class MultiProfileUserControllerTest; |
134 friend class ParallelAuthenticatorTest; | 134 friend class ParallelAuthenticatorTest; |
135 friend class ProfileHelperTest; | 135 friend class ProfileHelperTest; |
136 friend class ProfileListChromeOSTest; | 136 friend class ProfileListChromeOSTest; |
| 137 friend class SessionStateDelegateChromeOSTest; |
137 | 138 |
138 // BrowsingDataRemover::Observer implementation: | 139 // BrowsingDataRemover::Observer implementation: |
139 virtual void OnBrowsingDataRemoverDone() OVERRIDE; | 140 virtual void OnBrowsingDataRemoverDone() OVERRIDE; |
140 | 141 |
141 // UserManager::Observer overrides. | 142 // UserManager::Observer overrides. |
142 virtual void OnSessionRestoreStateChanged( | 143 virtual void OnSessionRestoreStateChanged( |
143 Profile* user_profile, | 144 Profile* user_profile, |
144 OAuth2LoginManager::SessionRestoreState state) OVERRIDE; | 145 OAuth2LoginManager::SessionRestoreState state) OVERRIDE; |
145 | 146 |
146 // UserManager::UserSessionStateObserver implementation: | 147 // UserManager::UserSessionStateObserver implementation: |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 // If true and enable_profile_to_user_testing is true then primary user will | 188 // If true and enable_profile_to_user_testing is true then primary user will |
188 // always be returned by GetUserByProfile(). | 189 // always be returned by GetUserByProfile(). |
189 static bool always_return_primary_user_for_testing; | 190 static bool always_return_primary_user_for_testing; |
190 | 191 |
191 DISALLOW_COPY_AND_ASSIGN(ProfileHelper); | 192 DISALLOW_COPY_AND_ASSIGN(ProfileHelper); |
192 }; | 193 }; |
193 | 194 |
194 } // namespace chromeos | 195 } // namespace chromeos |
195 | 196 |
196 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ | 197 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ |
OLD | NEW |