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..b0ad266e1a671f6316e1c29ad33bd60afd403650 100644 |
--- a/chrome/browser/chromeos/login/supervised_user_manager.h |
+++ b/chrome/browser/chromeos/login/supervised_user_manager.h |
@@ -9,12 +9,21 @@ |
#include "base/basictypes.h" |
#include "base/strings/string16.h" |
+#include "base/values.h" |
class PrefRegistrySimple; |
namespace chromeos { |
class User; |
+class SupervisedUserAuthentication; |
+ |
+// Keys in dictionary with supervised password information. |
+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 +90,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); |
}; |