[omnibox] InMemoryURLIndex: Add flag to disable persisting index to disk
This CL adds a base::Feature flag that disables the HistoryQuickProvider InMemoryURLIndex's cache file. Instead, the index will be rebuilt on every startup from the History DB. That's not as disastrous as it sounds. It takes ~2.5x as long compared to the on-disk persisted cache, and doesn't block the UI. It's on the History DB thread. Details of experiment: go/chrome-omnibox-hqp-ablate-cache-file Change-Id: Idddca4c5621010f3415e61d8731b3009892c281e Bug: 750845, 1032679, 1141539 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441044 Commit-Queue: Tommy Li <tommycli@chromium.org> Reviewed-by:Mark Pearson <mpearson@chromium.org> Cr-Commit-Position: refs/heads/master@{#821009}
Showing
Please register or sign in to comment