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_BASE_H_ | 5 #ifndef COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ | 6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
19 #include "components/signin/core/account_id/account_id.h" | 19 #include "components/signin/core/account_id/account_id.h" |
20 #include "components/user_manager/user.h" | 20 #include "components/user_manager/user.h" |
21 #include "components/user_manager/user_manager.h" | 21 #include "components/user_manager/user_manager.h" |
22 #include "components/user_manager/user_manager_export.h" | 22 #include "components/user_manager/user_manager_export.h" |
23 #include "components/user_manager/user_type.h" | 23 #include "components/user_manager/user_type.h" |
24 | 24 |
25 class PrefService; | |
26 class PrefRegistrySimple; | 25 class PrefRegistrySimple; |
27 | 26 |
28 namespace base { | 27 namespace base { |
29 class DictionaryValue; | |
30 class ListValue; | 28 class ListValue; |
31 class TaskRunner; | 29 class TaskRunner; |
32 } | 30 } |
33 | 31 |
34 namespace user_manager { | 32 namespace user_manager { |
35 | 33 |
36 class RemoveUserDelegate; | 34 class RemoveUserDelegate; |
37 | 35 |
38 // Base implementation of the UserManager interface. | 36 // Base implementation of the UserManager interface. |
39 class USER_MANAGER_EXPORT UserManagerBase : public UserManager { | 37 class USER_MANAGER_EXPORT UserManagerBase : public UserManager { |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 scoped_refptr<base::TaskRunner> task_runner_; | 383 scoped_refptr<base::TaskRunner> task_runner_; |
386 | 384 |
387 base::WeakPtrFactory<UserManagerBase> weak_factory_; | 385 base::WeakPtrFactory<UserManagerBase> weak_factory_; |
388 | 386 |
389 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); | 387 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); |
390 }; | 388 }; |
391 | 389 |
392 } // namespace user_manager | 390 } // namespace user_manager |
393 | 391 |
394 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ | 392 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
OLD | NEW |