diff options
author | ricow@chromium.org <ricow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-23 06:58:39 +0000 |
---|---|---|
committer | ricow@chromium.org <ricow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-23 06:58:39 +0000 |
commit | 8c715080dced54bec5d13862ed6a0da9974405e8 (patch) | |
tree | 56419cd3184ee559d34e718358ca67302b320b48 /chrome/browser/profiles/profile.h | |
parent | 85b667621215f8a8e97abc641c7ec88bfe84587c (diff) | |
download | chromium_src-8c715080dced54bec5d13862ed6a0da9974405e8.zip chromium_src-8c715080dced54bec5d13862ed6a0da9974405e8.tar.gz chromium_src-8c715080dced54bec5d13862ed6a0da9974405e8.tar.bz2 |
Revert 152904 - Moving FaviconService to a ProfileKeyedService.
BUG=112526
Review URL: https://chromiumcodereview.appspot.com/10828263
This seems to be causing win7 sync issues.
TBR=rlp@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10873022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152959 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile.h')
-rw-r--r-- | chrome/browser/profiles/profile.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h index dcf54f9..3883666 100644 --- a/chrome/browser/profiles/profile.h +++ b/chrome/browser/profiles/profile.h @@ -215,6 +215,19 @@ class Profile : public content::BrowserContext { virtual ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() = 0; + // Retrieves a pointer to the FaviconService associated with this + // profile. The FaviconService is lazily created the first time + // that this method is called. + // + // Although FaviconService is refcounted, this will not addref, and callers + // do not need to do any reference counting as long as they keep the pointer + // only for the local scope (which they should do anyway since the browser + // process may decide to shut down). + // + // |access| defines what the caller plans to do with the service. See + // the ServiceAccessType definition above. + virtual FaviconService* GetFaviconService(ServiceAccessType access) = 0; + // Accessor. The instance is created upon first access. virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() = 0; |