| 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 e31766eeed8424514637cc9b6ae7e369a3c406b4..cbc78ed69293a77f09f087d1b632d2c85f0358a1 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,12 @@ class SupervisedUserManagerImpl
|
| virtual void SetCreationTransactionUserId(const std::string& user_id)
|
| OVERRIDE;
|
| virtual void CommitCreationTransaction() OVERRIDE;
|
| + virtual SupervisedUserAuthentication* GetAuthentication() 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 +70,32 @@ class SupervisedUserManagerImpl
|
| void UpdateManagerName(const std::string& manager_id,
|
| const base::string16& new_display_name);
|
|
|
| + bool GetUserStringValue(const std::string& user_id,
|
| + const char* key,
|
| + std::string* out_value) const;
|
| +
|
| + void SetUserStringValue(const std::string& user_id,
|
| + const char* key,
|
| + const std::string& value);
|
| +
|
| + bool GetUserIntegerValue(const std::string& user_id,
|
| + const char* key,
|
| + int* out_value) const;
|
| +
|
| + void SetUserIntegerValue(const std::string& user_id,
|
| + const char* key,
|
| + const int 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);
|
| };
|
|
|
|
|