| Index: chrome/browser/managed_mode/managed_user_registration_utility.h
|
| diff --git a/chrome/browser/managed_mode/managed_user_registration_utility.h b/chrome/browser/managed_mode/managed_user_registration_utility.h
|
| index 5a87a35fdc4161bcd3c7d521ba8bb9080f7224f2..d62aee27ad709e85f3e688f222b37bed0abafcb0 100644
|
| --- a/chrome/browser/managed_mode/managed_user_registration_utility.h
|
| +++ b/chrome/browser/managed_mode/managed_user_registration_utility.h
|
| @@ -61,10 +61,12 @@ class ManagedUserRegistrationUtility {
|
| // Registers a new managed user with the server. |managed_user_id| is a new
|
| // unique ID for the new managed user. If its value is the same as that of
|
| // of one of the existing managed users, then the same user will be created
|
| - // on this machine. |info| contains necessary information like the display
|
| - // name of the the user. |callback| is called with the result of the
|
| - // registration. We use the info here and not the profile, because on
|
| - // Chrome OS the profile of the managed user does not yet exist.
|
| + // on this machine (and if he has no avatar in sync, his avatar will
|
| + // be updated). |info| contains necessary information like
|
| + // the display name of the user and his avatar. |callback| is called
|
| + // with the result of the registration. We use the info here and not the
|
| + // profile, because on Chrome OS the profile of the managed user does not
|
| + // yet exist.
|
| virtual void Register(const std::string& managed_user_id,
|
| const ManagedUserRegistrationInfo& info,
|
| const RegistrationCallback& callback) = 0;
|
|
|