-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify the supervised user extension approval flow result handlers
All call sites now go through the SupervisedUserExtensionsDelegate and handle all flow states in one callback method. This change is to prepare for https://chromium-review.googlesource.com/c/chromium/src/+/4163439 and the introduction of a new dialog flow for extension approvals. The existing enums and methods have been renamed to be implementation- agnostic so that they can be used for any UI that invokes the approval flow. One side effect of this change is only allowing one dialog to be open at a time. This was existing behavior for the ManagementAPI and ExtensionEnableFlow, but has been extended to the WebstorePrivateAPI as part of this change. Other than this, no behavior change is expected. Tested: Manually checked the supervised user flows, testing the approve/deny/blocked scenarios. Bug: b:262450453 Change-Id: Id8852249968118ff46ccdafec0fbfb578468997e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4226049 Reviewed-by: Tim <tjudkins@chromium.org> Reviewed-by: Aga Wronska <agawronska@chromium.org> Commit-Queue: Courtney Wong <courtneywong@chromium.org> Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1107820}
- Loading branch information
Courtney Wong
authored and
Chromium LUCI CQ
committed
Feb 21, 2023
1 parent
551917f
commit bc324e0
Showing
10 changed files
with
132 additions
and
142 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
Oops, something went wrong.