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

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

Issue 11188020: Introduce Android variants of ChromeGeolocationPermissionContext, GeolocationConfirmInfoBarDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build error 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_infobar_queue_controller.cc
diff --git a/chrome/browser/geolocation/geolocation_infobar_queue_controller.cc b/chrome/browser/geolocation/geolocation_infobar_queue_controller.cc
index 9bbe26c0e85b56d8db490a92803254398258ca42..63a3aab3e66343241d0ce5c52c79cae0ab2d1d8d 100644
--- a/chrome/browser/geolocation/geolocation_infobar_queue_controller.cc
+++ b/chrome/browser/geolocation/geolocation_infobar_queue_controller.cc
@@ -6,6 +6,7 @@
#include "chrome/browser/content_settings/host_content_settings_map.h"
#include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate.h"
+#include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.h"
#include "chrome/browser/infobars/infobar.h"
#include "chrome/browser/infobars/infobar_tab_helper.h"
#include "chrome/browser/prefs/pref_service.h"
@@ -281,13 +282,9 @@ GeolocationInfoBarQueueController::CreateInfoBarDelegate(
int bridge_id,
const GURL& requesting_frame_url,
const std::string& display_languages) {
- return new GeolocationConfirmInfoBarDelegate(infobar_helper,
- controller,
- render_process_id,
- render_view_id,
- bridge_id,
- requesting_frame_url,
- display_languages);
+ return GeolocationConfirmInfoBarDelegateFactory::Create(
+ infobar_helper, controller, render_process_id, render_view_id, bridge_id,
+ requesting_frame_url, display_languages);
}
void GeolocationInfoBarQueueController::ShowQueuedInfoBar(

Powered by Google App Engine
This is Rietveld 408576698