commit | f97e7b89647d9974c5678de98094bc13da9f26a1 | [log] [tgz] |
---|---|---|
author | Eric Sum <[email protected]> | Mon Apr 17 22:41:44 2023 |
committer | Chromium LUCI CQ <[email protected]> | Mon Apr 17 22:41:44 2023 |
tree | 55d4a6d85f06238c4b4951410eda07723bb238ac | |
parent | 92235d4ad4f472bad1b740498d9e43d940f2dcb1 [diff] [blame] |
Reland "Save latest latitude/longitude in case geoposition is unavailable." This reverts commit e41f261031aceb38f69ff50d99bc6bf4f798e771. Reason for revert: Roll forward with MSAN fix. Original change's description: > Revert "Save latest latitude/longitude in case geoposition is unavailable." > > This reverts commit 339f973ccc24adb28b45111472cdbf8641428dbb. > > Reason for revert: Causes MSAN failures, example: https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20ChromiumOS%20MSan%20Tests/35193/test-results?sortby=&groupby= > > Original change's description: > > Save latest latitude/longitude in case geoposition is unavailable. > > > > The implementation has been copied from the night light code. > > > > Bug: b:277601438 > > Change-Id: I288ab9a1951070afb4c819fe08e3e930e0f24197 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4416099 > > Reviewed-by: Ahmed Fakhry <[email protected]> > > Commit-Queue: Eric Sum <[email protected]> > > Code-Coverage: Findit <[email protected]> > > Cr-Commit-Position: refs/heads/main@{#1130706} > > Bug: b:277601438 > Change-Id: Iad174a3751aa8451f2448a6fee86f390defec21b > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4430131 > Bot-Commit: Rubber Stamper <[email protected]> > Owners-Override: Rakina Zata Amni <[email protected]> > Commit-Queue: Rakina Zata Amni <[email protected]> > Cr-Commit-Position: refs/heads/main@{#1131004} Bug: b:277601438 Change-Id: I251c2a919dbd1cb023e71038a25b2c891810a9df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4437369 Commit-Queue: Eric Sum <[email protected]> Reviewed-by: Ahmed Fakhry <[email protected]> Cr-Commit-Position: refs/heads/main@{#1131530}
diff --git a/ash/ash_prefs.cc b/ash/ash_prefs.cc index a805dbf..97b8058d 100644 --- a/ash/ash_prefs.cc +++ b/ash/ash_prefs.cc
@@ -35,6 +35,7 @@ #include "ash/system/camera/autozoom_controller_impl.h" #include "ash/system/camera/autozoom_nudge_controller.h" #include "ash/system/camera/camera_effects_controller.h" +#include "ash/system/geolocation/geolocation_controller.h" #include "ash/system/gesture_education/gesture_education_notification_controller.h" #include "ash/system/human_presence/snooping_protection_controller.h" #include "ash/system/input_device_settings/input_device_settings_controller_impl.h" @@ -98,6 +99,7 @@ DockedMagnifierController::RegisterProfilePrefs(registry); FeatureDiscoveryDurationReporterImpl::RegisterProfilePrefs(registry); FullscreenController::RegisterProfilePrefs(registry); + GeolocationController::RegisterProfilePrefs(registry); GestureEducationNotificationController::RegisterProfilePrefs(registry, for_test); holding_space_prefs::RegisterProfilePrefs(registry);