commit | 653a8e423dec550681ce701ca608211a1be3b553 | [log] [tgz] |
---|---|---|
author | mrefaat <mrefaat@chromium.org> | Wed Apr 24 15:54:52 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Apr 24 15:54:52 2019 |
tree | cc56aa7a9564d4fe9c6ae6aa0637d70e437cfc93 | |
parent | 5345de28a1706c44454a7d5b77d609bc879556c1 [diff] |
Create CRWWKHTTPCookieStore & move cookies processing to the IO thread. WKHTTPCookieStore doesn't have a public api to retrieve cookies for URL, so we have to use getAllCookies for single URL requests. and for that we have to filter returned cookies based on the URL. CRWWHTTPCookieStore is a wrapper over WKHTTPCookieStore that workaround its problems, it adds caching and ensure that the WebsiteDataStore exist with each getCookies cakk Move the filtering step to IO Process instead of UI. Also create a cache to save cookies so getAllCookies isn't called if it's not needed. Bug: 941643 Change-Id: Ia2a7048646b01650874567c4942e2d107405324f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538777 Commit-Queue: Mohammad Refaat <mrefaat@chromium.org> Reviewed-by: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#653595}
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 .