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

Unified Diff: chrome/browser/autocomplete/autocomplete_classifier_factory.h

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 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
« no previous file with comments | « build/linux/system.gyp ('k') | chrome/browser/autocomplete/autocomplete_classifier_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 09c0c03973cff4c382326930bc9e5b1a46b18c1a..dc5198770f59e171cbb96e0f68069ebde8f65763 100644
--- a/chrome/browser/autocomplete/autocomplete_classifier_factory.h
+++ b/chrome/browser/autocomplete/autocomplete_classifier_factory.h
@@ -21,7 +21,8 @@ class AutocompleteClassifierFactory : public ProfileKeyedServiceFactory {
static AutocompleteClassifierFactory* GetInstance();
- static ProfileKeyedService* BuildInstanceFor(Profile* profile);
+ static ProfileKeyedService* BuildInstanceFor(
+ content::BrowserContext* profile);
private:
friend struct DefaultSingletonTraits<AutocompleteClassifierFactory>;
@@ -33,7 +34,7 @@ class AutocompleteClassifierFactory : public ProfileKeyedServiceFactory {
virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
virtual ProfileKeyedService* BuildServiceInstanceFor(
- Profile* profile) const OVERRIDE;
+ content::BrowserContext* profile) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(AutocompleteClassifierFactory);
};
« no previous file with comments | « build/linux/system.gyp ('k') | chrome/browser/autocomplete/autocomplete_classifier_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698