Chromium Code Reviews| Index: chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.h |
| diff --git a/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.h b/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.h |
| index 597fab09ec13a87260854556ff9c4a115267c62e..b27210218928fa7e67886f7d0ae1af221102075c 100644 |
| --- a/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.h |
| +++ b/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.h |
| @@ -16,6 +16,7 @@ |
| #include "chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h" |
| #include "chrome/browser/supervised_user/legacy/supervised_user_registration_utility.h" |
| #include "chromeos/login/auth/extended_authenticator.h" |
| +#include "components/signin/core/account_id/account_id.h" |
| class Profile; |
| @@ -41,7 +42,7 @@ class SupervisedUserCreationControllerNew |
| // |Consumer| is not owned by controller, and it is expected that it wouldn't |
| // be deleted before SupervisedUserCreationControllerNew. |
| SupervisedUserCreationControllerNew(StatusConsumer* consumer, |
| - const std::string& manager_id); |
| + const AccountId& manager_id); |
| ~SupervisedUserCreationControllerNew() override; |
| // Returns the current supervised user controller if it has been created. |
| @@ -119,7 +120,7 @@ class SupervisedUserCreationControllerNew |
| base::string16 display_name; |
| int avatar_index; |
| - std::string manager_id; |
| + AccountId manager_id = EmptyAccountId(); |
|
achuithb
2015/12/04 10:12:52
Why do this? the default ctor does the right thing
Alexander Alekseev
2015/12/04 12:44:06
We cannot make AccountId default-constructible unt
|
| std::string local_user_id; // Used to identify cryptohome. |
| std::string sync_user_id; // Used to identify user in manager's sync data. |