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(); |
+} |