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
diff --git a/apps/saved_files_service_factory.cc b/apps/saved_files_service_factory.cc
index c904770..94dcf31 100644
--- a/apps/saved_files_service_factory.cc
+++ b/apps/saved_files_service_factory.cc
@@ -6,7 +6,7 @@
#include "apps/saved_files_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 {
@@ -28,7 +28,7 @@
SavedFilesServiceFactory::~SavedFilesServiceFactory() {}
-BrowserContextKeyedService* SavedFilesServiceFactory::BuildServiceInstanceFor(
+KeyedService* SavedFilesServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* profile) const {
return new SavedFilesService(static_cast<Profile*>(profile));
}