Index: chrome/browser/profiles/profile_manager.h |
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
index 05babfa8d51a1611f99e5a01161dcd78a516b18f..fe1f4a2e75066172b5e0731aed51f1cc6279543d 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -275,6 +275,9 @@ class ProfileManager : public base::NonThreadSafe, |
// Returns true if the profile was added, false otherwise. |
bool AddProfile(Profile* profile); |
+ // Schedules the profile at the given path to be deleted on shutdown. |
+ void FinishDeletingProfile(const base::FilePath& profile_dir); |
+ |
// Registers profile with given info. Returns pointer to created ProfileInfo |
// entry. |
ProfileInfo* RegisterProfile(Profile* profile, bool created); |
@@ -312,6 +315,10 @@ class ProfileManager : public base::NonThreadSafe, |
Profile* profile, |
Profile::CreateStatus status); |
+ void OnNewActiveProfileLoaded(const base::FilePath& profile_dir, |
+ Profile* profile, |
+ Profile::CreateStatus status); |
+ |
content::NotificationRegistrar registrar_; |
// The path to the user data directory (DIR_USER_DATA). |