diff options
Diffstat (limited to 'chrome/browser/managed_mode/managed_user_service.h')
-rw-r--r-- | chrome/browser/managed_mode/managed_user_service.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/managed_mode/managed_user_service.h b/chrome/browser/managed_mode/managed_user_service.h index b0e5d97..26210a5 100644 --- a/chrome/browser/managed_mode/managed_user_service.h +++ b/chrome/browser/managed_mode/managed_user_service.h @@ -120,7 +120,10 @@ class ManagedUserService : public BrowserContextKeyedService, // Convenience method that registers this managed user with // |registration_service| and initializes sync with the returned token. // Note that |registration_service| should belong to the custodian's profile, - // not this one. + // not this one. The |callback| will be called when registration is complete, + // whether it suceeded or not -- unless registration was cancelled in the + // ManagedUserRegistrationService manually, in which case the callback will + // be ignored. void RegisterAndInitSync(Profile* custodian_profile, const ProfileManager::CreateCallback& callback); |