Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3240)

Unified Diff: chrome/browser/chromeos/login/managed/managed_user_creation_controller.h

Issue 220913003: Make supervised user ChromeOS import aware of new password schema. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/managed/managed_user_creation_controller.h
diff --git a/chrome/browser/chromeos/login/managed/managed_user_creation_controller.h b/chrome/browser/chromeos/login/managed/managed_user_creation_controller.h
index eae7a7ef4568da69f89bfd58fe7a278db668d3c1..becd69ff9b80c6da28680f0892c716341fc57a1e 100644
--- a/chrome/browser/chromeos/login/managed/managed_user_creation_controller.h
+++ b/chrome/browser/chromeos/login/managed/managed_user_creation_controller.h
@@ -75,7 +75,21 @@ class ManagedUserCreationController {
const std::string& sync_id,
const std::string& master_key) = 0;
+ // Configures and initiates importing existing supervised user to this device.
+ // Existing user is identified by |sync_id|, has |display_name|,
+ // |avatar_index|. The master key for cryptohome is a |master_key|. The user
+ // has password specified in |password_data| and
+ // |encryption_key|/|signature_key| for cryptohome.
+ virtual void StartImport(const base::string16& display_name,
+ int avatar_index,
+ const std::string& sync_id,
+ const std::string& master_key,
+ const base::DictionaryValue* password_data,
+ const std::string& encryption_key,
+ const std::string& signature_key) = 0;
+
virtual void SetManagerProfile(Profile* manager_profile) = 0;
+ virtual Profile* GetManagerProfile() = 0;
virtual void CancelCreation() = 0;
virtual void FinishCreation() = 0;
virtual std::string GetManagedUserId() = 0;

Powered by Google App Engine
This is Rietveld 408576698