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

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

Issue 2742373003: Limit the amount the Location Settings Dialog will be shown to users. (Closed)
Patch Set: Feedback Created 3 years, 9 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/mock_location_settings.cc
diff --git a/chrome/browser/android/mock_location_settings.cc b/chrome/browser/android/mock_location_settings.cc
index 8a9c68d57dadab13dd14571eb69bbfbcdf740dd5..6b80b9ccaeac04a2bd6490c02bc457e38a71b45c 100644
--- a/chrome/browser/android/mock_location_settings.cc
+++ b/chrome/browser/android/mock_location_settings.cc
@@ -40,6 +40,10 @@ bool MockLocationSettings::HasShownLocationSettingsDialog() {
return has_shown_location_settings_dialog_;
}
+void MockLocationSettings::ClearHasShownLocationSettingsDialog() {
+ has_shown_location_settings_dialog_ = false;
+}
+
bool MockLocationSettings::HasAndroidLocationPermission() {
return has_android_location_permission_;
}
« no previous file with comments | « chrome/browser/android/mock_location_settings.h ('k') | chrome/browser/geolocation/geolocation_permission_context_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698