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

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

Issue 2698683002: Forced ephemeral profile deletion on browser removal crash fix. (Closed)
Patch Set: 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
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..8b2bc400c03b62a046526431cc9c3f07c127420b 100644
--- a/chrome/browser/profiles/profile_manager.h
+++ b/chrome/browser/profiles/profile_manager.h
@@ -202,6 +202,11 @@ class ProfileManager : public base::NonThreadSafe,
// that case the callback will be called when profile creation is complete.
void ScheduleProfileForDeletion(const base::FilePath& profile_dir,
const CreateCallback& callback);
+ // Schedules the forced ephemeral profile at the given path to be deleted on
Bernhard Bauer 2017/02/15 18:03:30 Nit: Empty line before comments please :)
+ // shutdown. When all browser windows are closed browser should become
+ // profileless.
Bernhard Bauer 2017/02/15 18:03:30 I don't understand that sentence. When all browser
palar 2017/02/16 10:39:04 When all browser windows for exact ephemeral profi
pastarmovj 2017/02/16 10:43:26 Since the ephemeral profile policy applies across
+ void ScheduleForcedEphemeralProfileForDeletion(
+ const base::FilePath& profile_dir);
#endif
// Autoloads profiles if they are running background apps.
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | chrome/browser/profiles/profile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698