commit | 6f53eab63f1ca92461b1c9e286cdeceb7977ecad | [log] [tgz] |
---|---|---|
author | Douglas Creager <dcreager@google.com> | Tue Jan 30 16:37:03 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 30 16:37:03 2018 |
tree | 9175b407b6ce0d2aa772f98d2498192a89c90e36 | |
parent | 53b1b7dad08d9b5e60157f47f2dc195c0d73d4dc [diff] |
Network Error Logging: Add success and failure sampling rates There are separate sampling rates for reports about successful and failed requests. Even though we're not currently reporting anything for successful requests, this plumbs through both sampling rates from the NEL header into the OriginPolicy instance. (A future change will add reports for successful requests; doing the patches in this order ensures that we never upload reports for 100% of successful requests unless specifically instructed to do so by the origin.) Bug: 748549 Change-Id: I66d9d0c0544372e642d3a146deb0a06f7973452d Reviewed-on: https://chromium-review.googlesource.com/891741 Commit-Queue: Julia Tuttle <juliatuttle@chromium.org> Reviewed-by: Julia Tuttle <juliatuttle@chromium.org> Cr-Commit-Position: refs/heads/master@{#532911}
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 .