Chromium Code Reviews| Index: chrome/browser/chromeos/login/supervised_user_manager_impl.h |
| diff --git a/chrome/browser/chromeos/login/supervised_user_manager_impl.h b/chrome/browser/chromeos/login/supervised_user_manager_impl.h |
| index e598006547566d7fb0aa4b4f6c6977f9b01c7ab4..04a7913e49ac36779f6d430b8640d96a30564345 100644 |
| --- a/chrome/browser/chromeos/login/supervised_user_manager_impl.h |
| +++ b/chrome/browser/chromeos/login/supervised_user_manager_impl.h |
| @@ -9,6 +9,7 @@ |
| #include "base/basictypes.h" |
| #include "base/compiler_specific.h" |
| +#include "chrome/browser/chromeos/login/managed/supervised_user_authentication.h" |
| #include "chrome/browser/chromeos/login/supervised_user_manager.h" |
| namespace chromeos { |
| @@ -42,6 +43,13 @@ class SupervisedUserManagerImpl |
| virtual void SetCreationTransactionUserId(const std::string& user_id) |
| OVERRIDE; |
| virtual void CommitCreationTransaction() OVERRIDE; |
| + virtual SupervisedUserAuthentication* GetSupervisedUserAuthentication() |
| + OVERRIDE; |
| + virtual void GetPasswordInformation(const std::string& user_id, |
| + base::DictionaryValue* result) OVERRIDE; |
| + virtual void SetPasswordInformation( |
| + const std::string& user_id, |
| + const base::DictionaryValue* password_info) OVERRIDE; |
| private: |
| friend class UserManager; |
| @@ -63,11 +71,24 @@ class SupervisedUserManagerImpl |
| void UpdateManagerName(const std::string& manager_id, |
| const string16& new_display_name); |
| + bool GetUserValue(const std::string& user_id, |
|
Nikita (slow)
2013/12/09 16:42:16
nit: Please add comments for these new functions.
|
| + const char* key, |
| + std::string* out_value) const; |
| + |
| + void SetUserValue(const std::string& user_id, |
| + const char* key, |
| + const std::string& value); |
| + |
| + void CleanPref(const std::string& user_id, |
| + const char* key); |
| + |
| UserManagerImpl* owner_; |
| // Interface to the signed settings store. |
| CrosSettings* cros_settings_; |
| + scoped_ptr<SupervisedUserAuthentication> authentication_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(SupervisedUserManagerImpl); |
| }; |