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

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

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.h
diff --git a/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h b/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h
index 6ef4a72bfc08db226c2f1cae71dd1f219348eb54..544470cccbd1f3e9ac38ff54736f19e547ba853d 100644
--- a/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h
+++ b/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h
@@ -7,6 +7,8 @@
#include "chrome/browser/geolocation/geolocation_infobar_queue_controller.h"
+class GoogleLocationSettingsHelper;
+
// Android-specific geolocation infobar queue controller. As with
// GeolocationInfoBarQueueController, this class is owned by
// ChromeGeolocationPermissionContextAndroid.
@@ -15,7 +17,8 @@ class GeolocationInfoBarQueueControllerAndroid
public:
explicit GeolocationInfoBarQueueControllerAndroid(
- Profile* profile);
+ Profile* profile,
+ GoogleLocationSettingsHelper* helper);
private:
virtual GeolocationConfirmInfoBarDelegate* CreateInfoBarDelegate(
@@ -26,6 +29,10 @@ class GeolocationInfoBarQueueControllerAndroid
int bridge_id,
const GURL& requesting_frame_url,
const std::string& display_languages) OVERRIDE;
+
+ // ChromeGeolocationPermissionContextAndroid owns both this class
+ // and this instance of google_location_settings_helper_.
+ GoogleLocationSettingsHelper* google_location_settings_helper_;
};
#endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_INFOBAR_QUEUE_CONTROLLER_ANDROID_H__

Powered by Google App Engine
This is Rietveld 408576698