[iOS] Ensure persistent cookie store's backend is closed on shutdown
This CL uses TaskShutdownBehavior::BLOCK_SHUTDOWN for the background task runner associated with an SQLLitePersistentCookieStore, matching the behavior in content/. This ensures that when an SQLLitePersistentCookieStore is destroyed, the call to SQLitePersistentStoreBackendBase::DoCloseInBackground posted to the background thread gets executed before the SQLitePersistentStoreBackendBase is destroyed, fixing an assertion failure. Bug: 1121986 Change-Id: I77c7fad335b07508fb316fc6b1a88b822692893d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2398510Reviewed-by:Eugene But <eugenebut@chromium.org> Commit-Queue: Ali Juma <ajuma@chromium.org> Cr-Commit-Position: refs/heads/master@{#805287}
Showing
Please register or sign in to comment