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

Unified Diff: chrome/browser/profiles/startup_task_runner_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/profiles/startup_task_runner_service_factory.h
diff --git a/chrome/browser/profiles/startup_task_runner_service_factory.h b/chrome/browser/profiles/startup_task_runner_service_factory.h
index 1876c632c29d70fb202c317d83e619189bb91f67..d43507eb974fbdc8c8a5f2890a6be4950de40f57 100644
--- a/chrome/browser/profiles/startup_task_runner_service_factory.h
+++ b/chrome/browser/profiles/startup_task_runner_service_factory.h
@@ -14,7 +14,8 @@ class PrefRegistrySyncable;
class Profile;
// Singleton that owns the start-up task runner service.
-class StartupTaskRunnerServiceFactory : public ProfileKeyedServiceFactory {
+class StartupTaskRunnerServiceFactory
+ : public BrowserContextKeyedServiceFactory {
public:
// Returns the instance of StartupTaskRunnerService associated with this
// profile (creating one if none exists).
@@ -29,8 +30,8 @@ class StartupTaskRunnerServiceFactory : public ProfileKeyedServiceFactory {
StartupTaskRunnerServiceFactory();
virtual ~StartupTaskRunnerServiceFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(StartupTaskRunnerServiceFactory);

Powered by Google App Engine
This is Rietveld 408576698