DescriptionAdopt base::OnceCallback in base::BarrierClosure
base::BarrierClosure calls the given callback object only once upon the
Nth invocation of resulting wrapper callback. That means, the wrapped
callback should be OnceCallback, and the resulting callback should be
RepeatingCallback.
BUG=714018
Review-Url: https://codereview.chromium.org/2833293004
Cr-Commit-Position: refs/heads/master@{#467664}
Committed: https://chromium.googlesource.com/chromium/src/+/34bf6052665ebb01cfd3dba05e2e72a64e08da67
Patch Set 1 #Patch Set 2 : . #
Total comments: 2
Patch Set 3 : update comment #
Messages
Total messages: 20 (15 generated)
|