IndexedDB: Push state to functions in IndexedDBQuotaClientTest.
The test has a few sync wrappers for QuotaClient's async methods. The wrappers store the async method results as test fixture members. This scope is unnecessarily large, which is an unnecessary mental burden on folks who need to understand the test. This CL stores each async method result as a local variable in the method's sync wrapper and removes the member variables. Change-Id: Ie85aa31688643b4de163a8b0a415b3aec2e54241 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2247216 Commit-Queue: Victor Costan <pwnall@chromium.org> Reviewed-by:Daniel Murphy <dmurph@chromium.org> Auto-Submit: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#779524}
Showing
Please register or sign in to comment