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

Unified Diff: chrome/browser/autocomplete/autocomplete_classifier_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: 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/autocomplete/autocomplete_classifier_factory.h
diff --git a/chrome/browser/autocomplete/autocomplete_classifier_factory.h b/chrome/browser/autocomplete/autocomplete_classifier_factory.h
index dcee47a41681bdd7de0bc301e98eebed5778813d..51d42c7a5406d749edc6a676b8ec82c46d4bce51 100644
--- a/chrome/browser/autocomplete/autocomplete_classifier_factory.h
+++ b/chrome/browser/autocomplete/autocomplete_classifier_factory.h
@@ -14,14 +14,14 @@ class Profile;
// Singleton that owns all AutocompleteClassifiers and associates them with
// Profiles.
-class AutocompleteClassifierFactory : public ProfileKeyedServiceFactory {
+class AutocompleteClassifierFactory : public BrowserContextKeyedServiceFactory {
public:
// Returns the AutocompleteClassifier for |profile|.
static AutocompleteClassifier* GetForProfile(Profile* profile);
static AutocompleteClassifierFactory* GetInstance();
- static ProfileKeyedService* BuildInstanceFor(
+ static BrowserContextKeyedService* BuildInstanceFor(
content::BrowserContext* profile);
private:
@@ -30,11 +30,11 @@ class AutocompleteClassifierFactory : public ProfileKeyedServiceFactory {
AutocompleteClassifierFactory();
virtual ~AutocompleteClassifierFactory();
- // ProfileKeyedServiceFactory:
+ // BrowserContextKeyedServiceFactory:
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(AutocompleteClassifierFactory);

Powered by Google App Engine
This is Rietveld 408576698