Index: chrome/browser/geolocation/geolocation_confirm_infobar_delegate.cc |
=================================================================== |
--- chrome/browser/geolocation/geolocation_confirm_infobar_delegate.cc (revision 163741) |
+++ chrome/browser/geolocation/geolocation_confirm_infobar_delegate.cc (working copy) |
@@ -16,21 +16,16 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
-// GeolocationConfirmInfoBarDelegate ------------------------------------------ |
GeolocationConfirmInfoBarDelegate::GeolocationConfirmInfoBarDelegate( |
InfoBarTabHelper* infobar_helper, |
GeolocationInfoBarQueueController* controller, |
- int render_process_id, |
- int render_view_id, |
- int bridge_id, |
+ const content::GeolocationPermissionRequestID& id, |
const GURL& requesting_frame_url, |
const std::string& display_languages) |
: ConfirmInfoBarDelegate(infobar_helper), |
controller_(controller), |
- render_process_id_(render_process_id), |
- render_view_id_(render_view_id), |
- bridge_id_(bridge_id), |
+ id_(id), |
requesting_frame_url_(requesting_frame_url), |
display_languages_(display_languages) { |
const content::NavigationEntry* committed_entry = |
@@ -61,12 +56,9 @@ |
void GeolocationConfirmInfoBarDelegate::SetPermission( |
bool update_content_setting, bool allowed) { |
- controller_->OnPermissionSet( |
- render_process_id_, render_view_id_, bridge_id_, |
- requesting_frame_url_, |
- owner()->GetWebContents()->GetURL(), |
- update_content_setting, |
- allowed); |
+ controller_->OnPermissionSet(id_, requesting_frame_url_, |
+ owner()->GetWebContents()->GetURL(), |
+ update_content_setting, allowed); |
} |
bool GeolocationConfirmInfoBarDelegate::Accept() { |