Index: chrome/browser/profiles/profile_manager.h |
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
index a8674de09b363d2e8f32219077bfdf2b1189a989..1b8f1ac542df6affacb7fbae759efe2a1675d046 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -187,6 +187,11 @@ class ProfileManager : public base::NonThreadSafe, |
void ScheduleProfileForDeletion(const base::FilePath& profile_dir, |
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(std::vector<base::FilePath> profiles); |
jochen (gone - plz use gerrit)
2013/11/05 13:03:25
why not const ref?
I think profile_paths would be
pastarmovj
2013/11/05 16:11:02
Done.
|
+ |
// Autoloads profiles if they are running background apps. |
void AutoloadProfiles(); |