commit | ea864dcfb77ec3606e25e664aa12c1e0fdade403 | [log] [tgz] |
---|---|---|
author | Igor Ruvinov <igorruvinov@chromium.org> | Thu Jul 15 21:53:46 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 15 21:53:46 2021 |
tree | 962486310b245b4f08e0488493ac4dd543b1d7fa | |
parent | 10c2dbdb71ba7f4809f00f0605c65a879d4a4ae5 [diff] |
[Fixit] Use mock policy provider utility in chrome/browser/ui/webui/. A utility method was implemented which reduces the amount of boilerplate code required when using MockConfigurationPolicyProvider. NiceMock<...> is used to suppress the "Uninteresting mock function call" warnings. Utility method implementation CL: crrev.com/c/3017141 This cleanup is part of Chrome Fixit 2021. Bug: 242087 Change-Id: Ib505c2e1c1180aa609fd70fe29dc1e6d41f02e7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3032664 Reviewed-by: Kyle Horimoto <khorimoto@chromium.org> Commit-Queue: Igor Ruvinov <igorruvinov@chromium.org> Cr-Commit-Position: refs/heads/master@{#902181}
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.