diff options
author | blundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-14 10:10:34 +0000 |
---|---|---|
committer | blundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-14 10:10:34 +0000 |
commit | 540380fc6861d7f0e94fb4980df2e0064efeb066 (patch) | |
tree | 7c41d8bb5220f30b37b2a45a507ab568677fec58 /chrome/browser/spellchecker/spellcheck_factory.cc | |
parent | ded324964bde9c4b1ad4f7dae8048d4e67b97f5a (diff) | |
download | chromium_src-540380fc6861d7f0e94fb4980df2e0064efeb066.zip chromium_src-540380fc6861d7f0e94fb4980df2e0064efeb066.tar.gz chromium_src-540380fc6861d7f0e94fb4980df2e0064efeb066.tar.bz2 |
Move clients of BrowserContextKeyedService to use KeyedService (#4)
This change covers:
- //components
- Roughly half of the remaining clients in //chrome
BUG=351704
TBR=jochen
Review URL: https://codereview.chromium.org/198193002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellchecker/spellcheck_factory.cc')
-rw-r--r-- | chrome/browser/spellchecker/spellcheck_factory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/spellchecker/spellcheck_factory.cc b/chrome/browser/spellchecker/spellcheck_factory.cc index 29f5035..4116ff6 100644 --- a/chrome/browser/spellchecker/spellcheck_factory.cc +++ b/chrome/browser/spellchecker/spellcheck_factory.cc @@ -9,7 +9,7 @@ #include "chrome/browser/profiles/incognito_helpers.h" #include "chrome/browser/spellchecker/spellcheck_service.h" #include "chrome/common/pref_names.h" -#include "components/browser_context_keyed_service/browser_context_dependency_manager.h" +#include "components/keyed_service/content/browser_context_dependency_manager.h" #include "components/user_prefs/pref_registry_syncable.h" #include "components/user_prefs/user_prefs.h" #include "content/public/browser/render_process_host.h" @@ -50,7 +50,7 @@ SpellcheckServiceFactory::SpellcheckServiceFactory() SpellcheckServiceFactory::~SpellcheckServiceFactory() {} -BrowserContextKeyedService* SpellcheckServiceFactory::BuildServiceInstanceFor( +KeyedService* SpellcheckServiceFactory::BuildServiceInstanceFor( content::BrowserContext* context) const { // Many variables are initialized from the |context| in the SpellcheckService. SpellcheckService* spellcheck = new SpellcheckService(context); |