Update policy parsing for ExtensionSettings, eliminate custom paths.

The initiator of a URLRequest only tracks the scheme, host, and port.
Being able to reliably block requests from a protected initiator is more
important than being able to block by path. This is needed to implement
changes to chrome.webRequest which block event dispatches based on initiator https://codereview.chromium.org/2495353003/.

Bug: 624649
Change-Id: I20e8e6543924e1001908d7268c2490a45485987e
Reviewed-on: https://chromium-review.googlesource.com/517228
Commit-Queue: Nick Peterson <nrpeter@google.com>
Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org>
Reviewed-by: Julian Pastarmov <pastarmovj@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#476995}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6bdf582c485e93962a785876149901a932f60e06
1 file changed
tree: dd3d78064d8b4cbfdef4b284fe2192147f08d3e2
  1. android/
  2. core/
  3. proto/
  4. resources/
  5. tools/
  6. BUILD.gn
  7. OWNERS
  8. policy_export.h