commit | a0b4750fe005438a85e65626635303483d08317d | [log] [tgz] |
---|---|---|
author | David Roger <droger@chromium.org> | Mon Sep 11 11:41:35 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 11 11:41:35 2023 |
tree | 9d8388501ab32db7572a9aba730bc9ac1900dfaf | |
parent | 4a4426c70640642a13f8eefe6f5846d463f137db [diff] |
[profiles] Add assertions to protect against empty profile name Users of the ProfileNameResolver expect that the name is never empty. However, as seen in bug https://crbug.com/1479101, this is sometimes happening. This CL adds more CHECKs, so that the bug can be caught earlier and hopefully will give more information about the scenario at play. Bug: 1479101 Change-Id: Iaa449be4fc8ed23af0581a17aaba105b5c2c5f9c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4855979 Reviewed-by: Nicolas Dossou-Gbété <dgn@chromium.org> Commit-Queue: David Roger <droger@chromium.org> Cr-Commit-Position: refs/heads/main@{#1194778}
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.