[rsafor] Separate rsaFor into a separate permission context class
This CL builds on the prior addition of the rsaFor-specific permission
and content setting. There is still significant duplication, and the
goal is to avoid any behavioral change, including in changes to custom
metrics (with generic permission service metrics excluded).
Future CLs will pare down the duplication between the new permission and
the old one, and begin modifying metrics, etc.
Bug: 1385156
Change-Id: I4780b8afdeb325c295961b28ddfda9f95ae5672f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4034987
Reviewed-by: Eric Orth <[email protected]>
Reviewed-by: Christian Dullweber <[email protected]>
Commit-Queue: Matt Reichhoff <[email protected]>
Reviewed-by: Illia Klimov <[email protected]>
Reviewed-by: Dominic Farolino <[email protected]>
Reviewed-by: Ravjit Uppal <[email protected]>
Reviewed-by: Michael Spang <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Reviewed-by: danakj <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1089840}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 7cfaa83..d635a57 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -1915,6 +1915,7 @@
"//chrome/browser/share",
"//chrome/browser/ui",
"//chrome/browser/storage_access_api:permissions",
+ "//chrome/browser/top_level_storage_access_api:permissions",
"//chrome/browser/safe_browsing",
"//chrome/browser/safe_browsing:verdict_cache_manager_factory",
"//chrome/browser/safe_browsing:advanced_protection",
@@ -2030,6 +2031,7 @@
"//chrome/browser/signin:identity_manager_provider",
"//chrome/browser/storage_access_api:permissions",
"//chrome/browser/thumbnail",
+ "//chrome/browser/top_level_storage_access_api:permissions",
"//chrome/browser/touch_to_fill",
"//chrome/browser/ui",
"//chrome/browser/ui/color:mixers",