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

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

Issue 11186010: Update geolocation infobar to handle Android system settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix conflict 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_android.cc
diff --git a/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.cc b/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.cc
index 16eacb4e0f7f047efaefd3d643c0f04c8a20e1fb..4794e77b0ce8d420ad44ec608abdbf9d0887e9c4 100644
--- a/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.cc
+++ b/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.cc
@@ -7,8 +7,10 @@
#include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h"
GeolocationInfoBarQueueControllerAndroid::
-GeolocationInfoBarQueueControllerAndroid(Profile* profile)
- : GeolocationInfoBarQueueController(profile) {
+GeolocationInfoBarQueueControllerAndroid(Profile* profile,
+ GoogleLocationSettingsHelper* helper)
+ : GeolocationInfoBarQueueController(profile),
+ google_location_settings_helper_(helper) {
}
GeolocationConfirmInfoBarDelegate*
@@ -21,6 +23,7 @@ GeolocationInfoBarQueueControllerAndroid::CreateInfoBarDelegate(
const GURL& requesting_frame_url,
const std::string& display_languages) {
return new GeolocationConfirmInfoBarDelegateAndroid(
+ google_location_settings_helper_,
infobar_helper,
controller,
render_process_id,

Powered by Google App Engine
This is Rietveld 408576698