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

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

Issue 23345004: Fix Android strict-mode violation in GeoLocation info bar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments / fix tests Created 6 years, 10 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_delegate_android.h
diff --git a/chrome/browser/geolocation/geolocation_infobar_delegate_android.h b/chrome/browser/geolocation/geolocation_infobar_delegate_android.h
index 3365656c4317acb1678b5067600010b6273a3330..d1d27b3c58f145f317940b1d80f5a25c009551c1 100644
--- a/chrome/browser/geolocation/geolocation_infobar_delegate_android.h
+++ b/chrome/browser/geolocation/geolocation_infobar_delegate_android.h
@@ -17,7 +17,8 @@ class GeolocationInfoBarDelegateAndroid : public GeolocationInfoBarDelegate {
const PermissionRequestID& id,
const GURL& requesting_frame_url,
int contents_unique_id,
- const std::string& display_languages);
+ const std::string& display_languages,
+ const std::string& accept_button_label);
private:
virtual ~GeolocationInfoBarDelegateAndroid();
@@ -28,6 +29,8 @@ class GeolocationInfoBarDelegateAndroid : public GeolocationInfoBarDelegate {
scoped_ptr<GoogleLocationSettingsHelper> google_location_settings_helper_;
+ std::string accept_button_label_;
+
DISALLOW_COPY_AND_ASSIGN(GeolocationInfoBarDelegateAndroid);
};

Powered by Google App Engine
This is Rietveld 408576698