 Chromium Code Reviews
 Chromium Code Reviews Issue 14923004:
  [Mac] AppController needs to update its "last profile" pointer when the active profile is deleted  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 14923004:
  [Mac] AppController needs to update its "last profile" pointer when the active profile is deleted  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| 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..6121477280f65c46cd15b5c4a6dceabb8baf239b 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,12 @@ class ProfileManager : public base::NonThreadSafe, | 
| Profile* profile, | 
| Profile::CreateStatus status); | 
| + void OnNewActiveProfileLoaded(const base::FilePath& profile_dir, | 
| 
Alexei Svitkine (slow)
2013/06/05 20:00:52
Document the params in a comment.
 
noms (inactive)
2013/06/11 19:32:17
Done.
 | 
| + const std::string last_non_managed_profile, | 
| + chrome::HostDesktopType desktop_type, | 
| + Profile* profile, | 
| + Profile::CreateStatus status); | 
| + | 
| content::NotificationRegistrar registrar_; | 
| // The path to the user data directory (DIR_USER_DATA). |