commit | 8a9e5372b66b76c3fffa3a388db0e370761423e7 | [log] [tgz] |
---|---|---|
author | Lily Chen <[email protected]> | Fri Apr 26 15:16:02 2019 |
committer | Commit Bot <[email protected]> | Fri Apr 26 15:16:02 2019 |
tree | e23d508350139b538bcb970a4c623c24d12ac79e | |
parent | 3ffe79cc9a51d1f653e9aab0a41e40a8118148cd [diff] |
NetworkErrorLoggingService: Load from and write to a PersistentNELStore This CL implements the interface between NetworkErrorLoggingServiceImpl and its PersistentNELStore. If a store is provided upon construction, The NetworkErrorLoggingService will attempt to load all NEL policies from the store on the first call to OnHeader(), OnRequest(), QueueSignedExchangeReport(), RemoveBrowsingData(), or RemoveAllBrowsingData(). Until the store notifies us that it is done loading, calls to those public methods will be queued in a backlog to be run in order upon completion of loading. Any changes to the NEL policies stored in memory will be reflected in the PersistentNELStore. Bug: 895821 Change-Id: Ib9a18a2b6c73641ee0a3d2f7b119b4c710c4db5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1555242 Commit-Queue: Lily Chen <[email protected]> Reviewed-by: Eric Orth <[email protected]> Reviewed-by: Martin Šrámek <[email protected]> Cr-Commit-Position: refs/heads/master@{#654452}
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 .