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

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

Issue 6127001: Geolocation code cleanup following switch to client-based Geolocation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 9 years, 11 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.h
diff --git a/chrome/browser/geolocation/geolocation_permission_context.h b/chrome/browser/geolocation/geolocation_permission_context.h
index c2a08e78422f58b5a3defdd3756e591ded940af9..cce709042019e4f5a8390db9823952542adc2fb5 100644
--- a/chrome/browser/geolocation/geolocation_permission_context.h
+++ b/chrome/browser/geolocation/geolocation_permission_context.h
@@ -44,22 +44,6 @@ class GeolocationPermissionContext
int render_process_id, int render_view_id, int bridge_id,
const GURL& requesting_frame, bool allowed);
- // Called when a geolocation object wants to start receiving location updates.
- // This also applies global policy around which location providers may be
- // enabled at a given time (e.g. prior to the user agreeing to any geolocation
- // permission requests).
- void StartUpdatingRequested(
- int render_process_id, int render_view_id, int bridge_id,
- const GURL& requesting_frame);
-
- // Called when a geolocation object has stopped. Because we are
- // short-circuiting permission request (see StartUpdatingRequested above), we
- // cancel any pending permission in here, since WebKit doesn't know about the
- // pending permission request and will never call
- // CancelGeolocationPermissionRequest().
- void StopUpdatingRequested(
- int render_process_id, int render_view_id, int bridge_id);
-
private:
friend class base::RefCountedThreadSafe<GeolocationPermissionContext>;
virtual ~GeolocationPermissionContext();

Powered by Google App Engine
This is Rietveld 408576698