| 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 edb2692f36f232894ace3e678a8a17d9ec4c43d8..ceb71d97d49e11dac1d2bd3f89a692998a339c93 100644
|
| --- a/content/browser/geolocation/geolocation_dispatcher_host.cc
|
| +++ b/content/browser/geolocation/geolocation_dispatcher_host.cc
|
| @@ -60,7 +60,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);
|
| @@ -159,7 +160,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;
|
| @@ -169,6 +171,7 @@ void GeolocationDispatcherHostImpl::OnRequestPermission(
|
| render_view_id,
|
| bridge_id,
|
| requesting_frame,
|
| + user_gesture,
|
| base::Bind(&SendGeolocationPermissionResponse,
|
| render_process_id_,
|
| render_view_id,
|
|
|