Chromium Code Reviews| Index: chrome/browser/profiles/profile_manager.h |
| diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
| index 204cbaa4fa5b4a9cb161da390fede2f5f9b3cb0d..088388a6ac8d8fea42b8987db3ce042675b3ed65 100644 |
| --- a/chrome/browser/profiles/profile_manager.h |
| +++ b/chrome/browser/profiles/profile_manager.h |
| @@ -152,6 +152,9 @@ class ProfileManager : public base::NonThreadSafe, |
| // 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 @@ class ProfileManager : public base::NonThreadSafe, |
| // 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_; |
|
Miranda Callahan
2011/07/07 17:43:02
Does this need to be made thread-safe?
sail
2011/07/07 18:00:19
It doesn't because it' only accessed from the UI t
|
| + |
| DISALLOW_COPY_AND_ASSIGN(ProfileManager); |
| }; |