[chromecast] Adding URL filter logic
Adds a URL filter for generic Activity third party
applications. This introduces filter logic for http
and websocket requests according to a provided whitelist.
A follow up CL to introduce the whitelist entry in
cast_web_contents that enable the filters.
Bug: 1054535
Test: CQ, verified url request blocking in devtools
Change-Id: I6a6a50bea79b70e7e91e08832bf9807c91faa53a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050038
Reviewed-by: Dominic Battré <battre@chromium.org>
Reviewed-by: Karan Bhatia <karandeepb@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Daniel Nicoara <dnicoara@chromium.org>
Commit-Queue: Jiaqi Han <jiaqih@google.com>
Cr-Commit-Position: refs/heads/master@{#743314}
diff --git a/chromecast/common/DEPS b/chromecast/common/DEPS
index 7fb3b60..486c7b7 100644
--- a/chromecast/common/DEPS
+++ b/chromecast/common/DEPS
@@ -1,5 +1,6 @@
include_rules = [
"+components/services/heap_profiling/public/cpp",
+ "+components/url_matcher",
"+components/version_info",
"+content/public/common",
"+extensions/common",