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

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

Issue 7321011: Multi-Profiles: Add delete profile command (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Multi-Profiles: Add delete profile command Created 9 years, 5 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 | « chrome/app/generated_resources.grd ('k') | 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
===================================================================
--- chrome/browser/profiles/profile_manager.h (revision 91776)
+++ chrome/browser/profiles/profile_manager.h (working copy)
@@ -152,6 +152,9 @@
// about profiles without having to load them from disk.
ProfileInfoCache& GetProfileInfoCache();
+ // Schedules the profile at the given path to be deleted on shutdown.
+ void ScheduleProfileForDeletion(const FilePath& profile_dir);
+
protected:
// Does final initial actions.
virtual void DoFinalInit(Profile* profile);
@@ -215,6 +218,9 @@
// Object to cache various information about profiles.
scoped_ptr<ProfileInfoCache> profile_info_cache_;
+ // Profiles that should be deleted on shutdown.
+ std::vector<FilePath> profiles_to_delete_;
+
DISALLOW_COPY_AND_ASSIGN(ProfileManager);
};
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698