commit | 2087f0a80bfba06c30bb47b7028996436288e9c7 | [log] [tgz] |
---|---|---|
author | Adrienne Walker <enne@chromium.org> | Thu Dec 05 07:21:56 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 05 07:21:56 2019 |
tree | 1b0478c6228aa398fc88ce1ec473891384a4d3a2 | |
parent | 9fbb79b225607f1cd7d28d2c713c6d6b58cd554a [diff] |
storage: Make QuotaClient refcounted Currently, QuotaClient is a raw pointer, jointly owned by QuotaManager and AppCacheServiceImpl, with a complicated keep_alive dance and conditional self-destruction. This is just a drive-by cleanup to get rid of "raw new" calls that looked suspicious and to make the refcounting explicit. Once AppCache gets removed, it seems possible to make QuotaClient to be owned fully by QuotaManager as a unique_ptr. Change-Id: I4df4bda44f51666e99880812c49ff76a7635c13d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1949579 Auto-Submit: enne <enne@chromium.org> Commit-Queue: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#721906}
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 .