commit | d945b5bf74563277718eed9fd27da6d834495a2c | [log] [tgz] |
---|---|---|
author | bttk <bttk@chromium.org> | Wed Aug 25 10:03:23 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 25 10:03:23 2021 |
tree | b2877ef23e910522261b92f56857153be8b323c9 | |
parent | 8a116adf1b1189a439978b936223015c2b2fc036 [diff] |
Make KeyIteratorController respect shared db prefix By mistake the controller had full control over iteration. After reading the last entry in its section of the shared db the iteration continued. StripPrefix silently failed to strip the prefix and controller received the full key. Before this change the new LoadKeysAndEntriesWhile test case failed on the DCHECK in StripPrefix. Bug: 1242693 Change-Id: I6abffa5c283ad636133acb7ed6d1cb815ab57dd3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3115586 Commit-Queue: bttk <bttk@chromium.org> Reviewed-by: Shakti Sahu <shaktisahu@chromium.org> Reviewed-by: ssid <ssid@chromium.org> Cr-Commit-Position: refs/heads/main@{#915121}
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.