-
Jay Civelli authored
Adding a method to the NetworkContext to clear the HTTP cache. The implementation in the network service duplicates some of the code from content::StoragePartitionHttpCacheDataRemover. Changed the BrowsingDataRemoverBrowserTest.Cache test to work with the network service. Since we do not want to expose more cache states (such as cache size) for tests, we rely on reloading pages after stopping the embedded server to test the page is available in the cache. Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I5c7687f931d57cf09119e6e26ae5d1d61eb247f3 Reviewed-on: https://chromium-review.googlesource.com/909949Reviewed-by:
Tom Sepez <tsepez@chromium.org> Reviewed-by:
Martin Šrámek <msramek@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Matt Menke <mmenke@chromium.org> Commit-Queue: Jay Civelli <jcivelli@chromium.org> Cr-Commit-Position: refs/heads/master@{#540279}
78612bf0