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 <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 bool* out_value) override; | 122 bool* out_value) override; |
123 void SetKnownUserBooleanPref(const UserID& user_id, | 123 void SetKnownUserBooleanPref(const UserID& user_id, |
124 const std::string& path, | 124 const std::string& path, |
125 const bool in_value) override; | 125 const bool in_value) override; |
126 bool GetKnownUserIntegerPref(const UserID& user_id, | 126 bool GetKnownUserIntegerPref(const UserID& user_id, |
127 const std::string& path, | 127 const std::string& path, |
128 int* out_value) override; | 128 int* out_value) override; |
129 void SetKnownUserIntegerPref(const UserID& user_id, | 129 void SetKnownUserIntegerPref(const UserID& user_id, |
130 const std::string& path, | 130 const std::string& path, |
131 const int in_value) override; | 131 const int in_value) override; |
| 132 bool GetKnownUserCanonicalEmail(const UserID& user_id, |
| 133 std::string* out_email) override; |
132 void UpdateGaiaID(const UserID& user_id, const std::string& gaia_id) override; | 134 void UpdateGaiaID(const UserID& user_id, const std::string& gaia_id) override; |
133 bool FindGaiaID(const UserID& user_id, std::string* out_value) override; | 135 bool FindGaiaID(const UserID& user_id, std::string* out_value) override; |
134 void UpdateUsingSAML(const std::string& user_id, | 136 void UpdateUsingSAML(const std::string& user_id, |
135 const bool using_saml) override; | 137 const bool using_saml) override; |
136 bool FindUsingSAML(const std::string& user_id) override; | 138 bool FindUsingSAML(const std::string& user_id) override; |
137 void SetKnownUserDeviceId(const UserID& user_id, | 139 void SetKnownUserDeviceId(const UserID& user_id, |
138 const std::string& device_id) override; | 140 const std::string& device_id) override; |
139 std::string GetKnownUserDeviceId(const UserID& user_id) override; | 141 std::string GetKnownUserDeviceId(const UserID& user_id) override; |
140 void SetKnownUserGAPSCookie(const UserID& user_id, | 142 void SetKnownUserGAPSCookie(const UserID& user_id, |
141 const std::string& gaps_cookie) override; | 143 const std::string& gaps_cookie) override; |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 scoped_refptr<base::TaskRunner> blocking_task_runner_; | 430 scoped_refptr<base::TaskRunner> blocking_task_runner_; |
429 | 431 |
430 base::WeakPtrFactory<UserManagerBase> weak_factory_; | 432 base::WeakPtrFactory<UserManagerBase> weak_factory_; |
431 | 433 |
432 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); | 434 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); |
433 }; | 435 }; |
434 | 436 |
435 } // namespace user_manager | 437 } // namespace user_manager |
436 | 438 |
437 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ | 439 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
OLD | NEW |