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

Unified Diff: chrome/browser/predictors/autocomplete_action_predictor_factory.h

Issue 13865012: Change GetProfileToUse method from Profile to content::BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 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
Index: chrome/browser/predictors/autocomplete_action_predictor_factory.h
diff --git a/chrome/browser/predictors/autocomplete_action_predictor_factory.h b/chrome/browser/predictors/autocomplete_action_predictor_factory.h
index 427f6ecd980e5088fb3d25166f0664345e0f932b..b1624ab859ef2fe8a393af7446b1a7bdd16f0be5 100644
--- a/chrome/browser/predictors/autocomplete_action_predictor_factory.h
+++ b/chrome/browser/predictors/autocomplete_action_predictor_factory.h
@@ -29,7 +29,8 @@ class AutocompleteActionPredictorFactory : public ProfileKeyedServiceFactory {
virtual ~AutocompleteActionPredictorFactory();
// ProfileKeyedServiceFactory:
- virtual bool ServiceHasOwnInstanceInIncognito() const OVERRIDE;
+ virtual content::BrowserContext* GetBrowserContextToUse(
+ content::BrowserContext* context) const OVERRIDE;
virtual ProfileKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
« no previous file with comments | « chrome/browser/plugins/plugin_prefs_factory.cc ('k') | chrome/browser/predictors/autocomplete_action_predictor_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698