Convert ExtensionWebRequestEventRouter to OnceCallback
This class keeps a list of callbacks to invoke on page load but clears the list after invocation so they can only ever be invoked once. Bug: 1152268 Change-Id: I97e43b14be743ef6798ce7281b6003e6d34c99cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2601228Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Commit-Queue: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#839178}
Showing
Please register or sign in to comment