commit | 554500e12774a16763f3d02be6a06314de1155a2 | [log] [tgz] |
---|---|---|
author | ssid <ssid@chromium.org> | Wed Aug 14 22:15:01 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Aug 14 22:15:01 2019 |
tree | 7d3defafe8c8658918982b83345a6f4fec6dcfe9 | |
parent | ed39427995c19bf293e240e04b1c3faed9985a79 [diff] |
[leveldb_proto] Migrated video_decode_stats to new API leveldb_proto is a component that allows storing proto objects in a leveldb database. A client can get a leveldb_proto database by calling a static method. This simple API made it easy for developers to integrate leveldb_proto in their components, this resulted in a large amount of clients, with each one using a unique leveldb instance. Having multiple db instances increases memory consumption, as each database caches frequently used contents. There has been an effort to move leveldb_proto databases from multiple instances to a shared instance, to decrease memory consumption and simplify configuration. As part of this effort the leveldb_proto database retrieval API was moved from a static method into db provider given by StoragePartition This CL migrates VideoDecodeStatsDB to the new API. Bug: 943170 Change-Id: I1d78286589612a2cf733e3c057af35d9c1396246 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1592193 Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Chrome Cunningham <chcunningham@chromium.org> Reviewed-by: Xi Han <hanxi@chromium.org> Reviewed-by: ssid <ssid@chromium.org> Commit-Queue: ssid <ssid@chromium.org> Cr-Commit-Position: refs/heads/master@{#687037}
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 .