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

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

Issue 11188020: Introduce Android variants of ChromeGeolocationPermissionContext, GeolocationConfirmInfoBarDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build error Created 8 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/geolocation/chrome_geolocation_permission_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_; }
« no previous file with comments | « no previous file | chrome/browser/geolocation/chrome_geolocation_permission_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698