Index: chrome/browser/managed_mode/managed_user_registration_service.h |
=================================================================== |
--- chrome/browser/managed_mode/managed_user_registration_service.h (revision 203598) |
+++ chrome/browser/managed_mode/managed_user_registration_service.h (working copy) |
@@ -51,9 +51,11 @@ |
// profile has been created: |
// ProfileManager::CreateMultiProfileAsync( |
// name, icon, |
- // managed_user_registration_service->GetRegistrationAndInitCallback(), |
+ // managed_user_registration_service->GetRegistrationAndInitCallback( |
+ // callback), |
// managed_user); |
- ProfileManager::CreateCallback GetRegistrationAndInitCallback(); |
+ ProfileManager::CreateCallback GetRegistrationAndInitCallback( |
+ const ProfileManager::CreateCallback& callback); |
// ProfileKeyedService implementation: |
virtual void Shutdown() OVERRIDE; |
@@ -89,7 +91,9 @@ |
// given |error|. |
void DispatchCallback(const GoogleServiceAuthError& error); |
- void OnProfileCreated(Profile* profile, Profile::CreateStatus status); |
+ void OnProfileCreated(const ProfileManager::CreateCallback& callback, |
+ Profile* profile, |
+ Profile::CreateStatus status); |
base::WeakPtrFactory<ManagedUserRegistrationService> weak_ptr_factory_; |
PrefService* prefs_; |