| commit | 38806b4429b96c07472a46df9bc77fd56f80a35c | [log] [tgz] |
|---|---|---|
| author | Angela Yoeurng <yoangela@chromium.org> | Thu Oct 13 00:20:54 2022 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 13 00:20:54 2022 |
| tree | 598275b51b931bf55ae5729ef96bb77ffc74c41e | |
| parent | abaa7d61a9ff09ee3819c6cffdaf60842e72f8d6 [diff] |
[omnibox][search_engines] Set safe_for_autoreplace to false when activating a search engine Currently, new autogenerated keywords can overwrite existing search engines unless safe_for_autoreplace is false or the search engine is a prepopulated engine. This causes active search engines to be repeatedly "deactivated" when they get overwritten by a new autogen keyword, since these are inactive by default. This CL sets safe_for_autoreplace to false whenever a keyword is activated (whether manually by the user or by the user-modified-or-used logic). This prevents new inactive-by-default keywords from replacing current activated ones. Bug: 1358746 Change-Id: I34273a0bfb98f3bf0d0154330c0eba92a74ccb8c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3947267 Reviewed-by: Tommy Li <tommycli@chromium.org> Commit-Queue: Angela Yoeurng <yoangela@chromium.org> Cr-Commit-Position: refs/heads/main@{#1058394}
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.