commit | 6c1d9664bbcfa9d24c64434d678c7a2bbd924e6d | [log] [tgz] |
---|---|---|
author | Alvin Ji <alvinji@chromium.org> | Tue Apr 22 17:59:06 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 22 17:59:06 2025 |
tree | 292b27db1dc3d36c0c581ccaa1709ad7214ce4e8 | |
parent | 02882bb8f848c0d009b51536709e829f2ec6de94 [diff] |
geolocation: Deprecate MockGeolocationObserver in GeolocationProviderTest This change refactors the GeolocationProviderImplTest to use `base::MockCallback` instead of custom `MockGeolocationObserver`. This simplifies the test setup and improves readability by directly using the provided mocking utility for callbacks. It also removes unused classes and dependencies after the refactor. Bug: 409807009 Change-Id: I95f28637b1bdb3434b90686013e298c09c0e7b6a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6477397 Reviewed-by: Matt Reynolds <mattreynolds@chromium.org> Commit-Queue: Alvin Ji <alvinji@chromium.org> Cr-Commit-Position: refs/heads/main@{#1450065}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.