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

Unified Diff: chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.cc

Issue 11269002: Introduce GeolocationPermissionRequestID, a wrapper struct to contain the (render process ID, rende… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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: chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.cc
===================================================================
--- chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.cc (revision 163741)
+++ chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.cc (working copy)
@@ -12,30 +12,15 @@
GeolocationConfirmInfoBarDelegate*
GeolocationConfirmInfoBarDelegateFactory::Create(
- InfoBarTabHelper* infobar_helper,
- GeolocationInfoBarQueueController* controller,
- int render_process_id,
- int render_view_id,
- int bridge_id,
- const GURL& requesting_frame_url,
- const std::string& display_languages) {
+ InfoBarTabHelper* infobar_helper,
+ GeolocationInfoBarQueueController* controller,
+ const GeolocationPermissionRequestID& id,
+ const GURL& requesting_frame_url,
+ const std::string& display_languages) {
#if defined(OS_ANDROID)
return new GeolocationConfirmInfoBarDelegateAndroid(
- infobar_helper,
- controller,
- render_process_id,
- render_view_id,
- bridge_id,
- requesting_frame_url,
- display_languages);
#else
return new GeolocationConfirmInfoBarDelegate(
- infobar_helper,
- controller,
- render_process_id,
- render_view_id,
- bridge_id,
- requesting_frame_url,
- display_languages);
#endif
+ infobar_helper, controller, id, requesting_frame_url, display_languages);
}

Powered by Google App Engine
This is Rietveld 408576698