-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PermissionManager contains duplicated methods that differentiate by permissions type enum (ContentSettingsType vs PermissionType). This CL removed most of the ContentSettingsType-related methods, because they had limited usage, mostly in tests. Methods removed from PermissionManager: * RequestPermission(ContentSettingsType) * RequestPermissions(ContentSettingsType) * RequestPermissionFromCurrentDocument (ContentSettingsType) * PermissionManager::RequestPermissionsFromCurrentDocument (ContentSettingsType) * GetPermissionStatusForFrame(ContentSettingsType) * GetPermissionStatusForWorker(ContentSettingsType) * GetPermissionStatusForFrame(PermissionType) Methods removed from PermissionControllerDelegate: * GetPermissionStatusForFrame(PermissionType) Methods added to PermissionControllerDelegate: * RequestPermissionsFromCurrentDocument(PermissionType) Methods added to PermissionManager: * RequestPermissionsFromCurrentDocument(PermissionType) Bug: 1271543 Change-Id: I7c718e3a1a390cd5be6f143ad8f7a07477473e3a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3599030 Reviewed-by: Sergey Ulanov <sergeyu@chromium.org> Commit-Queue: Peter Kvitek <kvitekp@chromium.org> Reviewed-by: Ravjit Uppal <ravjit@chromium.org> Reviewed-by: Sean Topping <seantopping@chromium.org> Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org> Commit-Queue: Illia Klimov <elklm@google.com> Reviewed-by: Michael Bai <michaelbai@chromium.org> Reviewed-by: Florent Castelli <orphis@chromium.org> Reviewed-by: Peter Kvitek <kvitekp@chromium.org> Quick-Run: Peter Kvitek <kvitekp@chromium.org> Cr-Commit-Position: refs/heads/main@{#1002151}
- Loading branch information
Illia Klimov
authored and
Chromium LUCI CQ
committed
May 11, 2022
1 parent
7470b43
commit 27239ed
Showing
41 changed files
with
535 additions
and
673 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
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
Oops, something went wrong.