commit | 7ca677a0c24fd67f2f97a60040662e79f03a0c51 | [log] [tgz] |
---|---|---|
author | Devlin Cronin <[email protected]> | Tue Jun 26 21:06:22 2018 |
committer | Commit Bot <[email protected]> | Tue Jun 26 21:06:22 2018 |
tree | 4022be2122f9b758e186b1abad7f3bb45595af99 | |
parent | b899c92d17aeeb7d002d555558eb8fffd0177ce5 [diff] |
[Extension+Blink] Add bulk removal for an origin to SecurityPolicy Add SecurityPolicy::RemoveAllOriginAccessWhitelistEntriesForOrigin() to remove all entries associated with a given origin. This simplifies the extensions code and is faaaar more efficient, since we don't have to construct <n> different origin entries and iterate over the list of possible matches. Instead, we just remove the entry from the map in its entirety. No behavior change is expected. [email protected] Bug: None Change-Id: Ibb05221898d4a2539e1a687941526e7ecf09c72a Reviewed-on: https://chromium-review.googlesource.com/1105287 Commit-Queue: Devlin <[email protected]> Reviewed-by: Stephen Lanham <[email protected]> Reviewed-by: Jeremy Roman <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Cr-Commit-Position: refs/heads/master@{#570531}
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 .