| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // Returns NULL if User is not created. | 119 // Returns NULL if User is not created. |
| 120 user_manager::User* GetUserByProfile(Profile* profile); | 120 user_manager::User* GetUserByProfile(Profile* profile); |
| 121 | 121 |
| 122 static std::string GetUserIdHashByUserIdForTesting( | 122 static std::string GetUserIdHashByUserIdForTesting( |
| 123 const std::string& user_id); | 123 const std::string& user_id); |
| 124 | 124 |
| 125 private: | 125 private: |
| 126 friend class CryptohomeAuthenticatorTest; | 126 friend class CryptohomeAuthenticatorTest; |
| 127 friend class DeviceSettingsTestBase; | 127 friend class DeviceSettingsTestBase; |
| 128 friend class extensions::ExtensionGarbageCollectorChromeOSUnitTest; | 128 friend class extensions::ExtensionGarbageCollectorChromeOSUnitTest; |
| 129 friend class FakeUserManager; | 129 friend class FakeChromeUserManager; |
| 130 friend class KioskTest; | 130 friend class KioskTest; |
| 131 friend class MockUserManager; | 131 friend class MockUserManager; |
| 132 friend class MultiProfileUserControllerTest; | 132 friend class MultiProfileUserControllerTest; |
| 133 friend class ProfileHelperTest; | 133 friend class ProfileHelperTest; |
| 134 friend class ProfileListChromeOSTest; | 134 friend class ProfileListChromeOSTest; |
| 135 friend class SessionStateDelegateChromeOSTest; | 135 friend class SessionStateDelegateChromeOSTest; |
| 136 friend class SystemTrayDelegateChromeOSTest; | 136 friend class SystemTrayDelegateChromeOSTest; |
| 137 | 137 |
| 138 // BrowsingDataRemover::Observer implementation: | 138 // BrowsingDataRemover::Observer implementation: |
| 139 void OnBrowsingDataRemoverDone() override; | 139 void OnBrowsingDataRemoverDone() override; |
| (...skipping 47 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 | 187 // If true and enable_profile_to_user_testing is true then primary user will |
| 188 // always be returned by GetUserByProfile(). | 188 // always be returned by GetUserByProfile(). |
| 189 static bool always_return_primary_user_for_testing; | 189 static bool always_return_primary_user_for_testing; |
| 190 | 190 |
| 191 DISALLOW_COPY_AND_ASSIGN(ProfileHelper); | 191 DISALLOW_COPY_AND_ASSIGN(ProfileHelper); |
| 192 }; | 192 }; |
| 193 | 193 |
| 194 } // namespace chromeos | 194 } // namespace chromeos |
| 195 | 195 |
| 196 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ | 196 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_ |
| OLD | NEW |