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

Unified Diff: chrome/browser/android/mock_location_settings.h

Issue 2709883005: Stubs for triggering the LSD in Clank (Closed)
Patch Set: Group location settings dialog enums into a single java_cpp_enum rule Created 3 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
« no previous file with comments | « chrome/browser/android/location_settings_impl.cc ('k') | chrome/browser/android/mock_location_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/mock_location_settings.h
diff --git a/chrome/browser/android/mock_location_settings.h b/chrome/browser/android/mock_location_settings.h
index 0e46d35939c742c3fc76b98ac2797b60b6afa7e9..849a5a2f2213516a5f0bcc22ae1e12fd29c23233 100644
--- a/chrome/browser/android/mock_location_settings.h
+++ b/chrome/browser/android/mock_location_settings.h
@@ -19,6 +19,13 @@ class MockLocationSettings : public LocationSettings {
bool CanSitesRequestLocationPermission(
content::WebContents* web_contents) override;
+ bool CanPromptToEnableSystemLocationSetting() override;
+
+ void PromptToEnableSystemLocationSetting(
+ const LocationSettingsDialogContext prompt_context,
+ content::WebContents* web_contents,
+ LocationSettingsDialogOutcomeCallback callback) override;
+
bool IsMasterLocationSettingEnabled();
bool IsGoogleAppsLocationSettingEnabled();
« no previous file with comments | « chrome/browser/android/location_settings_impl.cc ('k') | chrome/browser/android/mock_location_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698