commit | 77ceac43ca9a82bee1a3da9a2fea24fd12f58366 | [log] [tgz] |
---|---|---|
author | Alex Ilin <alexilin@chromium.org> | Tue Mar 08 01:47:01 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 08 01:47:01 2022 |
tree | d72e5c298d4e5c9ba6b5c58896ebd4b81bcf4c38 | |
parent | a8ce837a1b5dd725e9a7ff70d128426e40423e2a [diff] |
[signin] Introduce AccountCapabilitiesFactory This CL changes the way how AccountFetcherService constructs AccountCapabilitiesFetchers. We introduce a factory class that will make it easier to inject different implementations of AccountCapabilityFetchers. This CL doesn't change the actual behavior. We add a FakeAccountCapabilitiesFetcher for tests and soon we'll add AccountCapabilitiesFetcherAndroid. This code structure also allows us to easily move the tests intended for specific AccountCapabilitiesFetcherGaia implementation out from account_tracker_service_unittest.cc. Bug: 1298465 Change-Id: I873a57281bd8791da07626da3ead73954f273f88 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3498108 Reviewed-by: Boris Sazonov <bsazonov@chromium.org> Commit-Queue: Alex Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/main@{#978570}
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.