forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify isolated origin persistence code and plumb IsolatedOriginSource…
… to it. The Chrome and Weblayer implementations of ContentBrowserClient::PersistIsolatedOrigin() basically do the same thing. This CL moves this code into a common location in the site_isolation component. It also plumbs through the IsolatedOriginSource for the origin being persisted. Currently, this should always be USER_TRIGGERED, but the persistence implementation will soon be expanded to also support WEB_TRIGGERED sources (with different policies and in a different pref). This refactor will allow us to do this in just one common place. Bug: 1018656 Change-Id: I26be003b3527aed8dcec9f7731971ea9559a28f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2875962 Reviewed-by: Clark DuVall <cduvall@chromium.org> Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org> Commit-Queue: Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/master@{#880575}
- Loading branch information
Alex Moshchuk
authored and
Chromium LUCI CQ
committed
May 7, 2021
1 parent
bdf67a8
commit 54aa00d
Showing
8 changed files
with
60 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters