| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_USER_MANAGER_USER_MANAGER_H_ | 5 #ifndef COMPONENTS_USER_MANAGER_USER_MANAGER_H_ |
| 6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_H_ | 6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "components/user_manager/user.h" | 11 #include "components/user_manager/user.h" |
| 11 #include "components/user_manager/user_manager_export.h" | 12 #include "components/user_manager/user_manager_export.h" |
| 12 #include "components/user_manager/user_type.h" | 13 #include "components/user_manager/user_type.h" |
| 13 | 14 |
| 14 class AccountId; | 15 class AccountId; |
| 15 class PrefService; | 16 class PrefService; |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 class DictionaryValue; | 19 class DictionaryValue; |
| 19 } | 20 } |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 static UserManager* GetForTesting(); | 338 static UserManager* GetForTesting(); |
| 338 | 339 |
| 339 // Sets UserManager instance to the given |user_manager|. | 340 // Sets UserManager instance to the given |user_manager|. |
| 340 // Returns the previous value of the instance. | 341 // Returns the previous value of the instance. |
| 341 static UserManager* SetForTesting(UserManager* user_manager); | 342 static UserManager* SetForTesting(UserManager* user_manager); |
| 342 }; | 343 }; |
| 343 | 344 |
| 344 } // namespace user_manager | 345 } // namespace user_manager |
| 345 | 346 |
| 346 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_H_ | 347 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_H_ |
| OLD | NEW |