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

Unified Diff: chrome/browser/android/mock_google_location_settings_helper.cc

Issue 440123002: Remove unused methods from GoogleLocationSettingsHelper (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
« no previous file with comments | « chrome/browser/android/mock_google_location_settings_helper.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/mock_google_location_settings_helper.cc
diff --git a/chrome/browser/android/mock_google_location_settings_helper.cc b/chrome/browser/android/mock_google_location_settings_helper.cc
index ce8be12a72b153f8d3e3f9070713bd42198df054..b88e0c91b565c3c3f7b2f5dcda3ad76b0aa8e854 100644
--- a/chrome/browser/android/mock_google_location_settings_helper.cc
+++ b/chrome/browser/android/mock_google_location_settings_helper.cc
@@ -32,3 +32,8 @@ bool MockGoogleLocationSettingsHelper::IsGoogleAppsLocationSettingEnabled() {
bool MockGoogleLocationSettingsHelper::IsMasterLocationSettingEnabled() {
return master_location_enabled;
}
+
+bool MockGoogleLocationSettingsHelper::IsSystemLocationEnabled() {
+ return IsMasterLocationSettingEnabled() &&
+ IsGoogleAppsLocationSettingEnabled();
+}
« no previous file with comments | « chrome/browser/android/mock_google_location_settings_helper.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698