Index: chrome/browser/profiles/profile_manager.h |
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
index e3e742c9995536c5defdc4a8f7001d3872563c56..3133365136179ad19bf9982149b7a51c72422995 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -401,6 +401,10 @@ class ProfileManager : public base::NonThreadSafe, |
typedef std::map<base::FilePath, linked_ptr<ProfileInfo> > ProfilesInfoMap; |
ProfilesInfoMap profiles_info_; |
+ // Owns profiles that fail initialization. Like normal profiles, they must not |
+ // be deleted before shutdown. |
Peter Kasting
2016/06/16 07:02:11
I'm uncomfortable with having this code and commen
WC Leung
2016/06/16 10:04:10
Actually there was some discussion about deleting
Peter Kasting
2016/06/16 10:59:59
FWIW, it seems very wrong to me for anyone to be d
Bernhard Bauer
2016/06/16 13:40:25
We use JSONPrefStore in a couple of different plac
|
+ std::vector<std::unique_ptr<Profile>> failed_profiles_; |
+ |
// Manages the process of creating, deleteing and updating Desktop shortcuts. |
std::unique_ptr<ProfileShortcutManager> profile_shortcut_manager_; |