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

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: 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..39e7bb4ff7d06888aafbb5171a02c0a1b1951a5a 100644
--- a/chrome/browser/predictors/resource_prefetch_predictor_factory.h
+++ b/chrome/browser/predictors/resource_prefetch_predictor_factory.h
@@ -15,7 +15,7 @@ namespace predictors {
class ResourcePrefetchPredictor;
-class ResourcePrefetchPredictorFactory : public ProfileKeyedServiceFactory {
+class ResourcePrefetchPredictorFactory : public BrowserContextKeyedServiceFactory {
public:
static ResourcePrefetchPredictor* GetForProfile(Profile* profile);
static ResourcePrefetchPredictorFactory* GetInstance();
@@ -26,8 +26,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