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

Unified Diff: chrome/browser/predictors/resource_prefetch_predictor_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/predictors/resource_prefetch_predictor_factory.h
diff --git a/chrome/browser/predictors/resource_prefetch_predictor_factory.h b/chrome/browser/predictors/resource_prefetch_predictor_factory.h
index 24e03795eac0a76ce61c78c3e3622bec78580cd0..802b544e6518131586a101f67ce3ca3a604ad634 100644
--- a/chrome/browser/predictors/resource_prefetch_predictor_factory.h
+++ b/chrome/browser/predictors/resource_prefetch_predictor_factory.h
@@ -15,7 +15,8 @@ namespace predictors {
class ResourcePrefetchPredictor;
-class ResourcePrefetchPredictorFactory : public ProfileKeyedServiceFactory {
+class ResourcePrefetchPredictorFactory
+ : public BrowserContextKeyedServiceFactory {
public:
static ResourcePrefetchPredictor* GetForProfile(Profile* profile);
static ResourcePrefetchPredictorFactory* GetInstance();
@@ -26,8 +27,8 @@ class ResourcePrefetchPredictorFactory : public ProfileKeyedServiceFactory {
ResourcePrefetchPredictorFactory();
virtual ~ResourcePrefetchPredictorFactory();
- // RefcountedProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // RefcountedBrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(ResourcePrefetchPredictorFactory);

Powered by Google App Engine
This is Rietveld 408576698