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

Unified Diff: chrome/browser/profiles/profile_manager.h

Issue 15734006: Restructure user-creation flow and surface errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removed log; patch for commit. Created 7 years, 7 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/profiles/profile_manager.h
===================================================================
--- chrome/browser/profiles/profile_manager.h (revision 202001)
+++ chrome/browser/profiles/profile_manager.h (working copy)
@@ -183,7 +183,6 @@
const string16& name,
const string16& icon_url,
const CreateCallback& callback,
- chrome::HostDesktopType desktop_type,
bool is_managed);
// Register multi-profile related preferences in Local State.
@@ -197,9 +196,11 @@
// profile specfic desktop shortcuts.
ProfileShortcutManager* profile_shortcut_manager();
- // Schedules the profile at the given path to be deleted on shutdown.
+ // Schedules the profile at the given path to be deleted on shutdown. If we're
+ // deleting the last profile, a new one will be created in its place, and in
+ // that case the callback will be called when profile creation is complete.
void ScheduleProfileForDeletion(const base::FilePath& profile_dir,
- chrome::HostDesktopType desktop_type);
+ const CreateCallback& callback);
// Checks if multiple profiles is enabled.
static bool IsMultipleProfilesEnabled();
« no previous file with comments | « chrome/browser/managed_mode/managed_user_registration_service.h ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698