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..dc849cb6ba986e0193fd8065ab73c2420cd4bffb 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -187,6 +187,12 @@ 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( |
+ const std::vector<base::FilePath>& profile_paths); |
+ |
// Autoloads profiles if they are running background apps. |
void AutoloadProfiles(); |