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

Unified Diff: chrome/browser/android/mock_google_location_settings_helper.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/android/mock_google_location_settings_helper.h
diff --git a/chrome/browser/android/mock_google_location_settings_helper.h b/chrome/browser/android/mock_google_location_settings_helper.h
index 328f2a9f6e2cc6bbd664b51ccff118afade4a92d..64bea2f3262038bac775fa01510803859d7a9b36 100644
--- a/chrome/browser/android/mock_google_location_settings_helper.h
+++ b/chrome/browser/android/mock_google_location_settings_helper.h
@@ -14,10 +14,11 @@ class MockGoogleLocationSettingsHelper : public GoogleLocationSettingsHelper {
static bool WasGoogleLocationSettingsCalled();
// GoogleLocationSettingsHelper implementation:
- virtual std::string GetAcceptButtonLabel() OVERRIDE;
+ virtual std::string GetAcceptButtonLabel(bool allow) OVERRIDE;
virtual void ShowGoogleLocationSettings() OVERRIDE;
virtual bool IsMasterLocationSettingEnabled() OVERRIDE;
virtual bool IsGoogleAppsLocationSettingEnabled() OVERRIDE;
+ virtual bool IsAllowLabel() OVERRIDE;
protected:
MockGoogleLocationSettingsHelper();

Powered by Google App Engine
This is Rietveld 408576698