Portals navigation throttle for 1P mode.
When enabled, this provides browser-side enforcement precluding navigations
in a portal to any origin other than the origin of its host.
Bug: 1013389
Change-Id: Ia7b2a94463b3fb4ba68fcf63f0e6e56342ca20ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1854150
Commit-Queue: Jeremy Roman <[email protected]>
Reviewed-by: Kinuko Yasuda <[email protected]>
Reviewed-by: Kevin McNee <[email protected]>
Cr-Commit-Position: refs/heads/master@{#708249}
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index c654fea0..3d393cff 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -1314,6 +1314,8 @@
"picture_in_picture/picture_in_picture_window_controller_impl.h",
"portal/portal.cc",
"portal/portal.h",
+ "portal/portal_navigation_throttle.cc",
+ "portal/portal_navigation_throttle.h",
"presentation/presentation_service_impl.cc",
"presentation/presentation_service_impl.h",
"process_internals/process_internals_handler_impl.cc",