-
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.
[Sheriff] Revert "[Office upload] Introduce CloudOpenTask to cloud_up…
…load_dialog" This reverts commit 46db1a5. Reason for revert: Multiple failures in https://ci.chromium.org/p/chromium/builders/ci/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29 Original change's description: > [Office upload] Introduce CloudOpenTask to cloud_upload_dialog > > Creates a new class CloudOpenTask that holds information needed > to execute the current task like profile, urls and cloud_provider. > > This was done to reduce the need to bind these parameters into > every static function like we did previously. This is also needed > for an upcoming CL which needs to create and store additional state > about windows, but had no place to stash the state other than > in a very complicated way in callbacks. > > This CL also splits the business logic of when to run setup and what > page of the dialog we need to show next, from the WebUI dialog wiring > necessary to launch a WebUI. CloudOpenTask handles the former, and > CloudUploadDialog handles the latter. > > Using CloudOpenTask::Status it's much easier to reason about > lifetimes rather than having them implicitly hidden in bound > callbacks. > > Bug: b:269546410 > Change-Id: I070490d4301eab99998d0bbf045200b4cf1a5e5b > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4252827 > Reviewed-by: Jeremie Boulic <jboulic@chromium.org> > Reviewed-by: Luciano Pacheco <lucmult@chromium.org> > Reviewed-by: Cassy Chun-Crogan <cassycc@google.com> > Commit-Queue: Peter Marshall <petermarshall@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1108789} Bug: b:269546410 Change-Id: Ie5093987fdcfa0d5113684f7d58eb3961925f16a No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4284946 Commit-Queue: Renato Silva <rrsilva@google.com> Owners-Override: Renato Silva <rrsilva@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1108885}
- Loading branch information
Renato Silva
authored and
Chromium LUCI CQ
committed
Feb 23, 2023
1 parent
a3a0b95
commit ade0487
Showing
6 changed files
with
414 additions
and
645 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
Oops, something went wrong.