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

Unified Diff: content/browser/geolocation/geolocation_dispatcher_host.h

Issue 454253002: Location chooser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing meacer@ comments Created 6 years, 4 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: content/browser/geolocation/geolocation_dispatcher_host.h
diff --git a/content/browser/geolocation/geolocation_dispatcher_host.h b/content/browser/geolocation/geolocation_dispatcher_host.h
index e8bda4026d687001276f562ea5b254ef0a6e64d7..f419a71e133e1d514c79ce08cbc02b3dfe496ec8 100644
--- a/content/browser/geolocation/geolocation_dispatcher_host.h
+++ b/content/browser/geolocation/geolocation_dispatcher_host.h
@@ -60,6 +60,7 @@ class GeolocationDispatcherHost : public WebContentsObserver {
void SendGeolocationPermissionResponse(int render_process_id,
int render_frame_id,
int bridge_id,
+ int choice,
bool allowed);
// A map from the RenderFrameHosts that have requested geolocation updates to
@@ -67,6 +68,9 @@ class GeolocationDispatcherHost : public WebContentsObserver {
std::map<RenderFrameHost*, bool> updating_frames_;
bool paused_;
+ // User's preference for geolocation sharing precision.
+ int geolocationPrecision_;
+
struct PendingPermission {
PendingPermission(int render_frame_id,
int render_process_id,

Powered by Google App Engine
This is Rietveld 408576698