| Index: chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc
|
| diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc
|
| index 48ec4584d528ac8687fbfeb553024d4a4bdd1664..7611658d42d2cb3a87c8ec538c859f8dac9b8604 100644
|
| --- a/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc
|
| +++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc
|
| @@ -17,7 +17,7 @@
|
|
|
| namespace {
|
|
|
| -class Service : public ProfileKeyedService {
|
| +class Service : public BrowserContextKeyedService {
|
| public:
|
| explicit Service(Profile* profile) {
|
| #if defined(OS_ANDROID)
|
| @@ -47,7 +47,7 @@ class Service : public ProfileKeyedService {
|
| ChromeGeolocationPermissionContext*
|
| ChromeGeolocationPermissionContextFactory::GetForProfile(Profile* profile) {
|
| return static_cast<Service*>(
|
| - GetInstance()->GetServiceForProfile(profile, true))->context();
|
| + GetInstance()->GetServiceForBrowserContext(profile, true))->context();
|
| }
|
|
|
| // static
|
| @@ -58,16 +58,16 @@ ChromeGeolocationPermissionContextFactory::GetInstance() {
|
|
|
| ChromeGeolocationPermissionContextFactory::
|
| ChromeGeolocationPermissionContextFactory()
|
| - : ProfileKeyedServiceFactory(
|
| + : BrowserContextKeyedServiceFactory(
|
| "ChromeGeolocationPermissionContext",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| }
|
|
|
| ChromeGeolocationPermissionContextFactory::
|
| ~ChromeGeolocationPermissionContextFactory() {
|
| }
|
|
|
| -ProfileKeyedService*
|
| +BrowserContextKeyedService*
|
| ChromeGeolocationPermissionContextFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| return new Service(static_cast<Profile*>(profile));
|
|
|