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 880c989c75bdf458d796a2f4d27e00cd2488f8fb..c19a9308781a70f8210ee964ebc91bc88330d4d9 100644 |
--- a/chrome/browser/chromeos/login/supervised_user_manager.h |
+++ b/chrome/browser/chromeos/login/supervised_user_manager.h |
@@ -15,6 +15,12 @@ class PrefRegistrySimple; |
namespace chromeos { |
class User; |
+class SupervisedUserAuthentication; |
+ |
+extern const char kSchemaVersion[]; |
+extern const char kPasswordVersion[]; |
Nikita (slow)
2013/12/09 16:42:16
nit: Rename to revision?
Denis Kuznetsov (DE-MUC)
2013/12/12 19:45:24
Done.
|
+extern const char kSalt[]; |
+extern const char kEncryptedPassword[]; |
// Base class for SupervisedUserManagerImpl - provides a mechanism for getting |
// and setting specific values for supervised users, as well as additional |
@@ -79,6 +85,19 @@ class SupervisedUserManager { |
// Remove locally managed user creation transaction record. |
virtual void CommitCreationTransaction() = 0; |
+ // Return object that handles specifics of supervised user authentication. |
+ virtual SupervisedUserAuthentication* GetSupervisedUserAuthentication() = 0; |
Nikita (slow)
2013/12/09 16:42:16
nit: I think this may be renamed to GetAuthenticat
Denis Kuznetsov (DE-MUC)
2013/12/12 19:45:24
Done.
|
+ |
+ // 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 |
Bernhard Bauer
2013/12/11 14:46:43
Nit: newline before this line.
Denis Kuznetsov (DE-MUC)
2013/12/12 19:45:24
Done.
|
+ // Local State. |
+ virtual void SetPasswordInformation( |
+ const std::string& user_id, |
+ const base::DictionaryValue* password_info) = 0; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(SupervisedUserManager); |
}; |