Index: chrome/browser/geolocation/chrome_geolocation_permission_context.h |
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context.h b/chrome/browser/geolocation/chrome_geolocation_permission_context.h |
index 95f31e61f5684fa3a03369f76db4d2d7fdf0020b..b8fba9b97ca9925b71e6f0971718977b96f15f2b 100644 |
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context.h |
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context.h |
@@ -8,10 +8,9 @@ |
#include <string> |
#include "base/memory/scoped_ptr.h" |
+#include "chrome/browser/geolocation/geolocation_infobar_queue_controller.h" |
#include "content/public/browser/geolocation_permission_context.h" |
-class GeolocationInfoBarQueueController; |
-class PrefService; |
class Profile; |
// Chrome specific implementation of GeolocationPermissionContext; manages |
@@ -20,9 +19,7 @@ class Profile; |
class ChromeGeolocationPermissionContext |
: public content::GeolocationPermissionContext { |
public: |
- static ChromeGeolocationPermissionContext* Create(Profile* profile); |
- |
- static void RegisterUserPrefs(PrefService *user_prefs); |
+ explicit ChromeGeolocationPermissionContext(Profile* profile); |
// GeolocationPermissionContext implementation: |
virtual void RequestGeolocationPermission( |
@@ -38,7 +35,6 @@ class ChromeGeolocationPermissionContext |
const GURL& requesting_frame) OVERRIDE; |
protected: |
- explicit ChromeGeolocationPermissionContext(Profile* profile); |
virtual ~ChromeGeolocationPermissionContext(); |
Profile* profile() const { return profile_; } |