commit | 00653669dee2b48392a8fa68ba52c70063883e5d | [log] [tgz] |
---|---|---|
author | Lei Zhang <thestig@chromium.org> | Tue Oct 04 20:18:34 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 04 20:18:34 2022 |
tree | 201d75cc00a840c8a806259fdf45ce99e030de5a | |
parent | 8387814599ba6ccef53b0475f3f1d585a6788350 [diff] |
Change tests to use PluginService after the UI thread becomes available. In preparation to use the PluginService only on the UI thread, update BlockedSchemeNavigationBrowserTest to use PluginService in SetUpOnMainThread(), instead of when the test class gets instantiated. Replace ScopedPluginRegister with RegisterFakePlugin() and UnregisterFakePlugin(), as there is only one caller, who is unlikely to forget to unregister. Bug: 990013 Change-Id: Ic03b3c4d011c28a7d376d7735b82cb5f417d643c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3932025 Reviewed-by: Charlie Reis <creis@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#1054901}
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.