Index: content/browser/geolocation/geolocation_dispatcher_host.cc |
diff --git a/content/browser/geolocation/geolocation_dispatcher_host.cc b/content/browser/geolocation/geolocation_dispatcher_host.cc |
index 0efa457b40d87d8bfa6beec2f81e8f77c365e90b..9502382bd991be2310a490399f42a72035f074da 100644 |
--- a/content/browser/geolocation/geolocation_dispatcher_host.cc |
+++ b/content/browser/geolocation/geolocation_dispatcher_host.cc |
@@ -103,7 +103,8 @@ class GeolocationDispatcherHostImpl : public GeolocationDispatcherHost { |
void OnRequestPermission(int render_view_id, |
int bridge_id, |
- const GURL& requesting_frame); |
+ const GURL& requesting_frame, |
+ bool user_gesture); |
void OnCancelPermissionRequest(int render_view_id, |
int bridge_id, |
const GURL& requesting_frame); |
@@ -203,7 +204,8 @@ void GeolocationDispatcherHostImpl::OnLocationUpdate( |
void GeolocationDispatcherHostImpl::OnRequestPermission( |
int render_view_id, |
int bridge_id, |
- const GURL& requesting_frame) { |
+ const GURL& requesting_frame, |
+ bool user_gesture) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
DVLOG(1) << __FUNCTION__ << " " << render_process_id_ << ":" |
<< render_view_id << ":" << bridge_id; |
@@ -213,6 +215,7 @@ void GeolocationDispatcherHostImpl::OnRequestPermission( |
render_view_id, |
bridge_id, |
requesting_frame, |
+ user_gesture, |
base::Bind(&SendGeolocationPermissionResponse, |
render_process_id_, |
render_view_id, |