diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-22 02:02:18 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-22 02:02:18 +0000 |
commit | f02e75847af83123902bd465ddd30276306abd49 (patch) | |
tree | e5efba00bc3ca2f9ffc8f354b93ebcf9d8eefc01 /chrome/browser/profile.h | |
parent | 139ec96dc6f26a24d8812aad4470f00b36ecee52 (diff) | |
download | chromium_src-f02e75847af83123902bd465ddd30276306abd49.zip chromium_src-f02e75847af83123902bd465ddd30276306abd49.tar.gz chromium_src-f02e75847af83123902bd465ddd30276306abd49.tar.bz2 |
Patch to make password patch build.
Review URL: http://codereview.chromium.org/113710
Patch from John Maguire <johnmaguire@google.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16708 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r-- | chrome/browser/profile.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h index 1ee1a19..d5e800f 100644 --- a/chrome/browser/profile.h +++ b/chrome/browser/profile.h @@ -31,6 +31,7 @@ class ExtensionProcessManager; class ExtensionsService; class HistoryService; class NavigationController; +class PasswordStore; class PrefService; class SessionService; class SpellChecker; @@ -157,6 +158,9 @@ class Profile { // the ServiceAccessType definition above. virtual WebDataService* GetWebDataService(ServiceAccessType access) = 0; + // Returns the PasswordStore for this profile. This is owned by the Profile. + virtual PasswordStore* GetPasswordStore(ServiceAccessType access) = 0; + // Retrieves a pointer to the PrefService that manages the preferences // for this user profile. The PrefService is lazily created the first // time that this method is called. @@ -314,6 +318,7 @@ class ProfileImpl : public Profile, virtual ExtensionProcessManager* GetExtensionProcessManager(); virtual HistoryService* GetHistoryService(ServiceAccessType sat); virtual WebDataService* GetWebDataService(ServiceAccessType sat); + virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); virtual PrefService* GetPrefs(); virtual TemplateURLModel* GetTemplateURLModel(); virtual TemplateURLFetcher* GetTemplateURLFetcher(); @@ -359,6 +364,8 @@ class ProfileImpl : public Profile, void CreateWebDataService(); FilePath GetPrefFilePath(); + void CreatePasswordStore(); + void StopCreateSessionServiceTimer(); void EnsureSessionServiceCreated() { @@ -401,10 +408,12 @@ class ProfileImpl : public Profile, scoped_refptr<DownloadManager> download_manager_; scoped_refptr<HistoryService> history_service_; scoped_refptr<WebDataService> web_data_service_; + scoped_refptr<PasswordStore> password_store_; scoped_refptr<SessionService> session_service_; scoped_refptr<BrowserThemeProvider> theme_provider_; bool history_service_created_; bool created_web_data_service_; + bool created_password_store_; bool created_download_manager_; bool created_theme_provider_; // Whether or not the last session exited cleanly. This is set only once. |