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

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

Issue 2721293002: Show the Android Location Settings Dialog when sites want permission. (Closed)
Patch Set: Feedback 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 a48db5fa4a9b253295c71b75c43ba56414ed4c7e..c4e49283a720afc89840c016a3a38dd6a1a574e7 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