-
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.
[103] Quota: Use BindPostTask in QuotaManagerProxy
This change updates QuotaManagerProxy to use base::BindPostTask to ensure callbacks are run or destroyed on the specified task runner. The main difference between the existing logic is that if the callback is never run, it may not be destroyed on the correct task runner. base::BindPostTask makes sure this doesn't happen. Bug: 1324864 Change-Id: Ifd123031309e29a22761b8aa88ef2a216ad45c70 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3647916 Auto-Submit: Ayu Ishii <ayui@chromium.org> Reviewed-by: Austin Sullivan <asully@chromium.org> Commit-Queue: Austin Sullivan <asully@chromium.org> Cr-Commit-Position: refs/branch-heads/5060@{#28} Cr-Branched-From: b83393d-refs/heads/main@{#1002911}
- Loading branch information
Showing
1 changed file
with
8 additions
and
33 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