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

Unified Diff: chrome/android/testshell/testshell_google_location_settings_helper.cc

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/android/testshell/testshell_google_location_settings_helper.cc
diff --git a/chrome/android/testshell/testshell_google_location_settings_helper.cc b/chrome/android/testshell/testshell_google_location_settings_helper.cc
index fe34ec3178f968160653229b3a7e0ca11f54124d..f109d5502b473cc04cc99c408598d54c467ca0df 100644
--- a/chrome/android/testshell/testshell_google_location_settings_helper.cc
+++ b/chrome/android/testshell/testshell_google_location_settings_helper.cc
@@ -17,7 +17,8 @@ TestShellGoogleLocationSettingsHelper::
~TestShellGoogleLocationSettingsHelper() {
}
-std::string TestShellGoogleLocationSettingsHelper::GetAcceptButtonLabel() {
+std::string TestShellGoogleLocationSettingsHelper::GetAcceptButtonLabel(
+ bool allow) {
return "Allow";
}
@@ -32,3 +33,7 @@ bool TestShellGoogleLocationSettingsHelper::
bool TestShellGoogleLocationSettingsHelper::IsMasterLocationSettingEnabled() {
return true;
}
+
+bool TestShellGoogleLocationSettingsHelper::IsAllowLabel() {
+ return true;
+}

Powered by Google App Engine
This is Rietveld 408576698