From 12b7af356ea046e14f0c070d5368591ea6accefa Mon Sep 17 00:00:00 2001 From: "blundell@chromium.org" Date: Thu, 13 Mar 2014 05:28:20 +0000 Subject: Move clients of BrowserContextKeyedService to using KeyedService (#3) This CL moves the following clients of BCKS to using the KeyedService component: - //apps - //chrome/browser/apps - //chrome/browser/chromeos - //chrome/browser/managed_mode BUG=351704 TBR=yoz,jochen Review URL: https://codereview.chromium.org/197733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256756 0039d316-1c4b-4281-b951-d872f2087c98 --- apps/app_restore_service_factory.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/app_restore_service_factory.cc') diff --git a/apps/app_restore_service_factory.cc b/apps/app_restore_service_factory.cc index a762e53..10dcd25 100644 --- a/apps/app_restore_service_factory.cc +++ b/apps/app_restore_service_factory.cc @@ -7,7 +7,7 @@ #include "apps/app_lifetime_monitor_factory.h" #include "apps/app_restore_service.h" #include "chrome/browser/profiles/profile.h" -#include "components/browser_context_keyed_service/browser_context_dependency_manager.h" +#include "components/keyed_service/content/browser_context_dependency_manager.h" namespace apps { @@ -31,7 +31,7 @@ AppRestoreServiceFactory::AppRestoreServiceFactory() AppRestoreServiceFactory::~AppRestoreServiceFactory() { } -BrowserContextKeyedService* AppRestoreServiceFactory::BuildServiceInstanceFor( +KeyedService* AppRestoreServiceFactory::BuildServiceInstanceFor( content::BrowserContext* profile) const { return new AppRestoreService(static_cast(profile)); } -- cgit v1.1