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

Unified Diff: chrome/browser/history/web_history_service_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/history/web_history_service_factory.h
diff --git a/chrome/browser/history/web_history_service_factory.h b/chrome/browser/history/web_history_service_factory.h
index 64fb30a6b54945e3b36aa24bd5cc7badbbc69998..3de9079bbb6cf1c8d677ac5acee10f8ce43bc440 100644
--- a/chrome/browser/history/web_history_service_factory.h
+++ b/chrome/browser/history/web_history_service_factory.h
@@ -15,7 +15,7 @@ class WebHistoryService;
// Used for creating and fetching a per-profile instance of the
// WebHistoryService.
-class WebHistoryServiceFactory : public ProfileKeyedServiceFactory {
+class WebHistoryServiceFactory : public BrowserContextKeyedServiceFactory {
public:
// Get the singleton instance of the factory.
static WebHistoryServiceFactory* GetInstance();
@@ -24,8 +24,8 @@ class WebHistoryServiceFactory : public ProfileKeyedServiceFactory {
static history::WebHistoryService* GetForProfile(Profile* profile);
protected:
- // Overridden from ProfileKeyedServiceFactory.
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // Overridden from BrowserContextKeyedServiceFactory.
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698