Index: chrome/browser/chromeos/login/supervised_user_manager.h |
diff --git a/chrome/browser/chromeos/login/supervised_user_manager.h b/chrome/browser/chromeos/login/supervised_user_manager.h |
index 4b116a8118a98b9075856d6637a9af2032c39606..7fb88b9dee9de097fa608e3173077b9f6466519e 100644 |
--- a/chrome/browser/chromeos/login/supervised_user_manager.h |
+++ b/chrome/browser/chromeos/login/supervised_user_manager.h |
@@ -15,6 +15,13 @@ class PrefRegistrySimple; |
namespace chromeos { |
class User; |
+class SupervisedUserAuthentication; |
+ |
+extern const char kSchemaVersion[]; |
+extern const char kPasswordRevision[]; |
+extern const char kSalt[]; |
+extern const char kEncryptedPassword[]; |
+extern const int kMinPasswordRevision; |
// Base class for SupervisedUserManagerImpl - provides a mechanism for getting |
// and setting specific values for supervised users, as well as additional |
@@ -81,6 +88,20 @@ class SupervisedUserManager { |
// Remove locally managed user creation transaction record. |
virtual void CommitCreationTransaction() = 0; |
+ // Return object that handles specifics of supervised user authentication. |
+ virtual SupervisedUserAuthentication* GetAuthentication() = 0; |
+ |
+ // Fill |result| with public password-specific data for |user_id| from Local |
+ // State. |
+ virtual void GetPasswordInformation(const std::string& user_id, |
+ base::DictionaryValue* result) = 0; |
+ |
+ // Stores public password-specific data from |password_info| for |user_id| in |
+ // Local State. |
+ virtual void SetPasswordInformation( |
+ const std::string& user_id, |
+ const base::DictionaryValue* password_info) = 0; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(SupervisedUserManager); |
}; |