Index: chrome/browser/profiles/profile_manager.h |
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
index c532a77033fd2779450d8d44fe16ed2c3fb363fc..0c8f5bf1ee41077c85ae5b4e3b8672a98fa7dbd1 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -25,6 +25,7 @@ |
class FilePath; |
class NewProfileLauncher; |
+class ProfileInfoCache; |
class ProfileManagerObserver { |
public: |
@@ -147,6 +148,10 @@ class ProfileManager : public base::NonThreadSafe, |
// Register multi-profile related preferences in Local State. |
static void RegisterPrefs(PrefService* prefs); |
+ // Returns a ProfileInfoCache object which can be used to get information |
+ // about profiles without having to load them from disk. |
+ ProfileInfoCache& GetProfileInfoCache(); |
+ |
protected: |
// Does final initial actions. |
virtual void DoFinalInit(Profile* profile); |
@@ -204,6 +209,8 @@ class ProfileManager : public base::NonThreadSafe, |
typedef std::map<FilePath, linked_ptr<ProfileInfo> > ProfilesInfoMap; |
ProfilesInfoMap profiles_info_; |
+ scoped_ptr<ProfileInfoCache> profile_info_cache_; |
James Hawkins
2011/06/30 23:02:58
Document this member variable.
sail
2011/07/01 01:16:18
Done.
|
+ |
DISALLOW_COPY_AND_ASSIGN(ProfileManager); |
}; |