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

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

Issue 15774008: Pass errors generated during limited-user registration up to the UI for display. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Addressed Drew's comments Created 7 years, 6 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
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_;
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/managed_mode/managed_user_registration_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698