Chromium Code Reviews| Index: chrome/browser/android/mock_location_settings.cc |
| diff --git a/chrome/browser/android/mock_location_settings.cc b/chrome/browser/android/mock_location_settings.cc |
| index 350306f4b5c0699ed622e45f4cbc3b73c77d5fc6..ea11f9dcda0bd8e216f92ffdff784e818e7405a6 100644 |
| --- a/chrome/browser/android/mock_location_settings.cc |
| +++ b/chrome/browser/android/mock_location_settings.cc |
| @@ -32,3 +32,14 @@ bool MockLocationSettings::CanSitesRequestLocationPermission( |
| return IsMasterLocationSettingEnabled() && |
| IsGoogleAppsLocationSettingEnabled(); |
| } |
| + |
| +bool MockLocationSettings::CanPromptToEnableSystemLocationSetting() { |
| + return false; |
| +} |
| + |
| +void MockLocationSettings::PromptToEnableSystemLocationSetting( |
| + const LocationSettingsDialogPromptContext prompt_context, |
| + content::WebContents* web_contents, |
| + LocationSettingsDialogPromptOutcomeCallback callback) { |
| + std::move(callback).Run(LocationSettingsDialogPromptOutcome::NO_PROMPT); |
|
benwells
2017/03/01 03:51:27
Again, I don't really understand the use of move h
|
| +} |