commit | d3c43f67173dbb48ef680a1a51553f9519c52988 | [log] [tgz] |
---|---|---|
author | Troy Hildebrandt <[email protected]> | Fri Sep 28 19:20:12 2018 |
committer | Commit Bot <[email protected]> | Fri Sep 28 19:20:12 2018 |
tree | d62c33d4771aedf1c031bc59dc3893cb3b2c7ce6 | |
parent | ab5e5b55baa819c9e576de63a00e06177f41e7a5 [diff] |
Add ability to load keys/entries at same time in LevelDB/ProtoDB. Keys and entries can currently be loaded separately, but never at the same time, meaning it requires separate calls to LoadKeys/LoadEntries to get keys and entries. Some users of ProtoDatabase have resorted to storing the keys in the entries to get around this. This CL adds LoadKeysAndEntries(WithFilter) that returns both at the same time. ProtoDatabase's new LoadKeysAndEntriesCallback gives back a vector of string/proto pairs. Bug: 883409 Change-Id: Id624bbdeb356395c6ce679528d85c1f934a9772e Reviewed-on: https://chromium-review.googlesource.com/1228305 Commit-Queue: Troy Hildebrandt <[email protected]> Reviewed-by: Tommy Nyquist <[email protected]> Reviewed-by: David Trainor <[email protected]> Cr-Commit-Position: refs/heads/master@{#595175}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .