Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(981)

Unified Diff: chrome/browser/spellchecker/spellcheck_factory.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/spellchecker/spellcheck_factory.h
diff --git a/chrome/browser/spellchecker/spellcheck_factory.h b/chrome/browser/spellchecker/spellcheck_factory.h
index 13996467e10b65faeed6b1de64814a15973d4c16..59aff27689a7298b771347b7b131a38571bdf66a 100644
--- a/chrome/browser/spellchecker/spellcheck_factory.h
+++ b/chrome/browser/spellchecker/spellcheck_factory.h
@@ -15,7 +15,7 @@ class Profile;
// Entry into the SpellCheck system.
//
// Internally, this owns all SpellcheckService objects.
-class SpellcheckServiceFactory : public ProfileKeyedServiceFactory {
+class SpellcheckServiceFactory : public BrowserContextKeyedServiceFactory {
public:
// Returns the spell check host. This will create the SpellcheckService if it
// does not already exist.
@@ -34,8 +34,8 @@ class SpellcheckServiceFactory : public ProfileKeyedServiceFactory {
SpellcheckServiceFactory();
virtual ~SpellcheckServiceFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const OVERRIDE;
virtual void RegisterUserPrefs(
user_prefs::PrefRegistrySyncable* registry) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698