[DNR] Release global rules allocation on unload (in some cases)
This CL releases an extension's allocation when it is unloaded for the following reasons: - when it's blocklisted - when it's disabled by policy - when it's disabled for malware Rationale on why certain UnloadedExtensionReason/DisableReason will cause the allocation to be released (or not) are detailed in the doc (internal): docs.google.com/document/d/1oGpntLGf9myZ6lI4XWJNMPaZX1_zooJni6ROsqidC6A Bug: 983299 Change-Id: I2523ee9794a24bd1ffa320b04ff7941842781969 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2545735Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Commit-Queue: Kelvin Jiang <kelvinjiang@chromium.org> Cr-Commit-Position: refs/heads/master@{#829279}
Showing
Please register or sign in to comment