Use OnceCallback for SnapshotFileCallback.
Define SnapshotFileCallback as a OnceCallback<> instead of a Callback<>. While this CL does not directly touch any net::CompletionCallbacks, it is a prerequisite for transitioning to net::CompletionOnceCallbacks in //storage/browser/fileapi. Bug: 807724 This exact CL has been reviewed and approved at https://crrev.com/c/1165828. However, due to a bug in Gerrit, I inadvertently submitted that CL skipping the CQ. See https://crbug.com/872722. Then I reverted that CL at https://crrev.com/c/1169344. In the aftermath of Gerrit issue, the original CL was automatically reverted at https://crrev.com/c/1169845 to give the author (me) a heads up that it needs to be relanded. Before that, of course, the revert was automatically reverted (that is, the original CL relanded) at https://crrev.com/c/1169868 for the same reason. Now that the outage is over, I can reland this CL properly, using the CQ. Original reviewer is TBR'd. TBR=tzik@chromium.org Change-Id: I1a6fdfb53e0d38e8fd1d6618a4a79f52dcf4739b Reviewed-on: https://chromium-review.googlesource.com/1169308 Commit-Queue: Bence Béky <bnc@chromium.org> Reviewed-by:Bence Béky <bnc@chromium.org> Cr-Commit-Position: refs/heads/master@{#582138}
Showing
Please register or sign in to comment