Use OnceCallback and RepeatingCallback in disk_cache_perftest.cc.
Change CompletionCallback argument type to CompletionOnceCallback in methods that guarantee that the callback will only be called once. Change CompletionCallback local variables to CompletionRepeatingCallback where the callback is locally passed to a function, but then called directly if the function returns synchronously. Bug: 807724 Change-Id: Ia7768504ce564ef2853662e3e39d752b534fa3a9 Reviewed-on: https://chromium-review.googlesource.com/1120748Reviewed-by:Eric Roman <eroman@chromium.org> Commit-Queue: Bence Béky <bnc@chromium.org> Cr-Commit-Position: refs/heads/master@{#571787}
Showing
Please register or sign in to comment