Index: chrome/browser/profiles/profile_manager.h |
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
index fb845009174153af7d18eb8adbb1451ed9dde39f..945079c727175c9b2c9427d5280cd6dcd3fb9c3a 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -163,17 +163,13 @@ class ProfileManager : public base::NonThreadSafe, |
ProfileShortcutManager* profile_shortcut_manager(); |
// 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. |
+ // deleting the last profile and |suppress_profile_creation| is false, a new |
+ // one will be created in its place, and the callback will be called when |
+ // profile creation is complete. |
void ScheduleProfileForDeletion(const base::FilePath& profile_dir, |
+ bool suppress_profile_creation, |
const CreateCallback& callback); |
- // Called on start-up if there are any stale ephemeral profiles to be deleted. |
- // This can be the case if the browser has crashed and the clean-up code had |
- // no chance to run then. |
- static void CleanUpStaleProfiles( |
- const std::vector<base::FilePath>& profile_paths); |
- |
// Autoloads profiles if they are running background apps. |
void AutoloadProfiles(); |