Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1248)

Unified Diff: chrome/browser/profiles/profile_manager.h

Issue 2698683002: Forced ephemeral profile deletion on browser removal crash fix. (Closed)
Patch Set: Changed active profile selection logic upon ephemeral profile deletion. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_manager.h
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h
index 655431231a06e50259e94a48834e103a357521ee..385f9c360fe2b718b6a9556d811bb8f0a4532b2e 100644
--- a/chrome/browser/profiles/profile_manager.h
+++ b/chrome/browser/profiles/profile_manager.h
@@ -383,6 +383,11 @@ class ProfileManager : public base::NonThreadSafe,
const CreateCallback& original_callback,
Profile* loaded_profile,
Profile::CreateStatus status);
+
+ // Schedules the forced ephemeral profile at the given path to be deleted on
+ // shutdown. New profiles will not be created.
+ void ScheduleForcedEphemeralProfileForDeletion(
+ const base::FilePath& profile_dir);
#endif // !defined(OS_ANDROID)
// Object to cache various information about profiles. Contains information
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698