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

Unified Diff: chrome/browser/managed_mode/managed_user_registration_utility.h

Issue 23691045: Update managed user registration to allow updating the avatar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bauerb@+ Created 7 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/managed_mode/managed_user_registration_utility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/browser/managed_mode/managed_user_registration_utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698