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

Unified Diff: chrome/browser/geolocation/geolocation_permission_context_factory.h

Issue 1312453005: Removed Profile::GetHostContentSettingsMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed redundant functions Created 5 years, 3 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/geolocation/geolocation_permission_context_factory.h
diff --git a/chrome/browser/geolocation/geolocation_permission_context_factory.h b/chrome/browser/geolocation/geolocation_permission_context_factory.h
index 3bb2efaa63facb8a36107e89e52b3a2c58c10ae9..90a53ad1e74df9495d4a3a933c2452265c4974cd 100644
--- a/chrome/browser/geolocation/geolocation_permission_context_factory.h
+++ b/chrome/browser/geolocation/geolocation_permission_context_factory.h
@@ -8,14 +8,14 @@
#include "base/memory/singleton.h"
#include "base/prefs/pref_service.h"
#include "base/values.h"
-#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
+#include "chrome/browser/permissions/permission_context_factory_base.h"
class GeolocationPermissionContext;
class PrefRegistrySyncable;
class Profile;
class GeolocationPermissionContextFactory
- : public BrowserContextKeyedServiceFactory {
+ : public PermissionContextFactoryBase {
public:
static GeolocationPermissionContext* GetForProfile(Profile* profile);
@@ -33,8 +33,6 @@ class GeolocationPermissionContextFactory
content::BrowserContext* profile) const override;
void RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) override;
- content::BrowserContext* GetBrowserContextToUse(
- content::BrowserContext* context) const override;
DISALLOW_COPY_AND_ASSIGN(GeolocationPermissionContextFactory);
};

Powered by Google App Engine
This is Rietveld 408576698