| 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)
|
| @@ -46,15 +46,6 @@
|
| // the user. |callback| is called with the result of the registration.
|
| void Register(const string16& name, const RegistrationCallback& callback);
|
|
|
| - // Convenience method that registers a new managed user with the server and
|
| - // initializes it locally. The callback allows it to be run after a new
|
| - // profile has been created:
|
| - // ProfileManager::CreateMultiProfileAsync(
|
| - // name, icon,
|
| - // managed_user_registration_service->GetRegistrationAndInitCallback(),
|
| - // managed_user);
|
| - ProfileManager::CreateCallback GetRegistrationAndInitCallback();
|
| -
|
| // ProfileKeyedService implementation:
|
| virtual void Shutdown() OVERRIDE;
|
|
|
| @@ -89,8 +80,6 @@
|
| // given |error|.
|
| void DispatchCallback(const GoogleServiceAuthError& error);
|
|
|
| - void OnProfileCreated(Profile* profile, Profile::CreateStatus status);
|
| -
|
| base::WeakPtrFactory<ManagedUserRegistrationService> weak_ptr_factory_;
|
| PrefService* prefs_;
|
| PrefChangeRegistrar pref_change_registrar_;
|
|
|