commit | 53a7cbb558c9e2991436e654b21a0572a3c6855a | [log] [tgz] |
---|---|---|
author | Joshua Bell <[email protected]> | Fri Feb 16 02:33:27 2018 |
committer | Commit Bot <[email protected]> | Fri Feb 16 02:33:27 2018 |
tree | ebefba721d7c9242f527f47fc6d2f32ce6072962 | |
parent | 6081cf205cce4a66387f38efa1c783c78548963d [diff] |
Convert QuotaClient interface to use url::Origin instead of GURL Quota operates in terms of origins, but the code is old. Update the QuotaClient interface implemented by storage back-ends to use the dedicated Origin type instead of URL. For storage back-ends that have been internally converted from GURL to Origin, this eliminates Origin<->URL at the API boundary: Indexed DB, Cache Storage. For storage back-ends that have not been converted, this introduces additional conversions which will go away: Service Workers, File System, WebSQL. The Quota system still uses GURLs internally, so it conversions are also introduced there. Additional follow-on work includes using BindOnce/OnceCallback, and converting the public interfaces that chrome/browser/browsing_data uses to query usage over to use url::Origin. Bug: 598424 Change-Id: I4d2d5c5872e0d02307bb624b4e62b2b3d76b1052 Reviewed-on: https://chromium-review.googlesource.com/920782 Reviewed-by: John Abd-El-Malek <[email protected]> Reviewed-by: Marijn Kruisselbrink <[email protected]> Commit-Queue: Joshua Bell <[email protected]> Cr-Commit-Position: refs/heads/master@{#537117}
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 .