• Clark DuVall's avatar
    Reland "Reset URLLoaderFactory bindings for web request proxy" · 16be2547
    Clark DuVall authored
    This is a reland of 574add02
    
    Added DevToolsFrontendInWebRequestApiTest.HiddenRequests to the filter
    file, will fix it in a follow up.
    
    Original change's description:
    > Reset URLLoaderFactory bindings for web request proxy
    >
    > Previously, if a request was made before any web request listeners or
    > rules were added, the URLLoaderFactory would not be proxied through the
    > browser process to run the WebRequest code. Now, if it is detected that
    > WebRequest listeners/rules are added, we reset the bindings so they will
    > be recreated and proxied through the browser process.
    >
    > Observers were added for a few classes so WebRequestAPI can listen to
    > rule changes.
    >
    > Changes in URLLoaderFactoryGetter were needed due to crbug.com/613371.
    >
    > Bug: 857577
    > Cq-Include-Trybots: luci.chromium.try:linux_mojo
    > Change-Id: I7805be86512545b496e30b9693374981fdc2633e
    > Reviewed-on: https://chromium-review.googlesource.com/1139048
    > Commit-Queue: Clark DuVall <cduvall@chromium.org>
    > Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
    > Reviewed-by: Ken Rockot <rockot@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#577036}
    
    TBR=rockot@chromium.org,kinuko@chromium.org
    
    Bug: 857577
    Change-Id: I83f266cfcd572ccbde36405d7cff501f92122b2d
    Cq-Include-Trybots: luci.chromium.try:linux_mojo
    Reviewed-on: https://chromium-review.googlesource.com/1147042Reviewed-by: default avatarClark DuVall <cduvall@chromium.org>
    Commit-Queue: Clark DuVall <cduvall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#577310}
    16be2547
background.js 165 Bytes