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

Unified Diff: chrome/android/shell/chrome_shell_google_location_settings_helper.cc

Issue 441883003: Simplify Android geolocation permission checks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 4 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/shell/chrome_shell_google_location_settings_helper.cc
diff --git a/chrome/android/shell/chrome_shell_google_location_settings_helper.cc b/chrome/android/shell/chrome_shell_google_location_settings_helper.cc
index 41aa232673a0229a1bd21672cf5d1d7f4e7d5ca2..893aac90dcc785d27a71204c00388faf74711c6b 100644
--- a/chrome/android/shell/chrome_shell_google_location_settings_helper.cc
+++ b/chrome/android/shell/chrome_shell_google_location_settings_helper.cc
@@ -18,23 +18,6 @@ ChromeShellGoogleLocationSettingsHelper::
~ChromeShellGoogleLocationSettingsHelper() {
}
-std::string ChromeShellGoogleLocationSettingsHelper::GetAcceptButtonLabel(
- bool allow) {
- return "Allow";
-}
-
-void ChromeShellGoogleLocationSettingsHelper::ShowGoogleLocationSettings() {
-}
-
-bool ChromeShellGoogleLocationSettingsHelper::
- IsGoogleAppsLocationSettingEnabled() {
- return true;
-}
-
-bool ChromeShellGoogleLocationSettingsHelper::IsMasterLocationSettingEnabled() {
- return true;
-}
-
-bool ChromeShellGoogleLocationSettingsHelper::IsAllowLabel() {
+bool ChromeShellGoogleLocationSettingsHelper::IsSystemLocationEnabled() {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698