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

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

Issue 2721293002: Show the Android Location Settings Dialog when sites want permission. (Closed)
Patch Set: Updated 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
Index: chrome/browser/android/location_settings_impl.h
diff --git a/chrome/browser/android/location_settings_impl.h b/chrome/browser/android/location_settings_impl.h
index fd324b4c6da8c7526172619f9c3dd632516aedc4..89aee463b6319f4495127d9c4af670d566709973 100644
--- a/chrome/browser/android/location_settings_impl.h
+++ b/chrome/browser/android/location_settings_impl.h
@@ -18,11 +18,11 @@ class LocationSettingsImpl : public LocationSettings {
~LocationSettingsImpl() override;
// LocationSettings implementation:
- bool CanSitesRequestLocationPermission(
+ bool HasAndroidLocationPermission() override;
+ bool CanPromptForAndroidLocationPermission(
content::WebContents* web_contents) override;
-
+ bool IsSystemLocationSettingEnabled() override;
bool CanPromptToEnableSystemLocationSetting() override;
-
void PromptToEnableSystemLocationSetting(
const LocationSettingsDialogContext prompt_context,
content::WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698