-
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.
Make CrxDownloader a ref-counted thread-safe type.
This CL is trying to reland a combination of https://chromium-review.googlesource.com/c/chromium/src/+/2293461 and https://chromium-review.googlesource.com/c/chromium/src/+/2297696 with an additional fix to make NetworkFetcherFactory a thread-safe type. The original CLs were reverted since the code had a race condition on the destruction of CrxDownloader instances, which triggered various sequence checkers when the objects were destroyed by a sequence other than main. Bug: 1105924 Change-Id: I84f071518f930964ec08611bb14b7fb2aa243fb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300599 Commit-Queue: Sorin Jianu <sorin@chromium.org> Reviewed-by: Joshua Pawlicki <waffles@chromium.org> Cr-Commit-Position: refs/heads/master@{#788829}
- Loading branch information
Showing
11 changed files
with
253 additions
and
233 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.