| Index: chrome/browser/geolocation/geolocation_infobar_delegate_android.cc
|
| diff --git a/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc b/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc
|
| index b67b268dd3f0ea7f5a891e81c03edda2ff406f7b..780c70cfd61898c6f623b7041fca6b7bb9637cb1 100644
|
| --- a/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc
|
| +++ b/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc
|
| @@ -14,21 +14,24 @@
|
| infobars::InfoBar* GeolocationInfoBarDelegateAndroid::Create(
|
| InfoBarService* infobar_service,
|
| const GURL& requesting_frame,
|
| + bool user_gesture,
|
| Profile* profile,
|
| const PermissionSetCallback& callback) {
|
| return infobar_service->AddInfoBar(infobar_service->CreateConfirmInfoBar(
|
| std::unique_ptr<ConfirmInfoBarDelegate>(
|
| - new GeolocationInfoBarDelegateAndroid(requesting_frame, profile,
|
| - callback))));
|
| + new GeolocationInfoBarDelegateAndroid(requesting_frame, user_gesture,
|
| + profile, callback))));
|
| }
|
|
|
| GeolocationInfoBarDelegateAndroid::GeolocationInfoBarDelegateAndroid(
|
| const GURL& requesting_frame,
|
| + bool user_gesture,
|
| Profile* profile,
|
| const PermissionSetCallback& callback)
|
| : PermissionInfobarDelegate(requesting_frame,
|
| content::PermissionType::GEOLOCATION,
|
| CONTENT_SETTINGS_TYPE_GEOLOCATION,
|
| + user_gesture,
|
| profile,
|
| callback),
|
| requesting_frame_(requesting_frame) {}
|
|
|