Revert "Simplify implementation of FileSystemOperationRunner."
This reverts commit d3c0d246. Reason for revert: Speculative revert for issue 864351, which started on Canary channel the day after this was landed. The tests in the FileSystemURLLoaderFactoryTest suite remain disabled, because they hit a NetworkService feature check now, under Cast, if re-enabled. Original change's description: > Simplify implementation of FileSystemOperationRunner. > > - Use a base::AutoReset instance to manage a single integer tracking > whether the completion callback for an operation is invoked before > we have actually returned to the caller. > - Remove the now-unused OperationHandle and BeginOperationScoper. > - Replace SupportsWeakPtr with an internal WeakPtrFactory. > - Replace potentially unsafe use of GetWeakPtr() with a |weak_ptr_| > member. > - Temporarily disables the recently-added FileSystemURLLoaderFactoryTest > tests, which have incorrect threading, causing WeakPtr checks to > fire. > > Bug: 846985, 860547 > Change-Id: Ia059b1b87ef11f3218aeb6c65d7b8dd62be6c393 > Reviewed-on: https://chromium-review.googlesource.com/1074427 > Commit-Queue: Wez <wez@chromium.org> > Reviewed-by: Ken Rockot <rockot@chromium.org> > Reviewed-by: Taiju Tsuiki <tzik@chromium.org> > Reviewed-by: Chris Mumford <cmumford@chromium.org> > Reviewed-by: Alexander Alekseev <alemate@chromium.org> > Cr-Commit-Position: refs/heads/master@{#574220} TBR=wez@chromium.org,rockot@chromium.org,alemate@chromium.org,noel@chromium.org,fukino@chromium.org,cmumford@chromium.org,tzik@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 846985, 860547, 864351 Change-Id: Ib858c73226785d9fbef3459d49e6cc3fd670d040 Reviewed-on: https://chromium-review.googlesource.com/1179782 Commit-Queue: Wez <wez@chromium.org> Reviewed-by:Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#584152}
Showing
This diff is collapsed.
Please register or sign in to comment