Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Issue 2833293004: Adopt base::OnceCallback in base::BarrierClosure (Closed)

Created:
3 years, 7 months ago by tzik
Modified:
3 years, 7 months ago
Reviewers:
gab
CC:
chromium-reviews, danakj+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adopt 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -26 lines) Patch
M base/barrier_closure.h View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
M base/barrier_closure.cc View 1 1 chunk +18 lines, -20 lines 0 comments Download

Messages

Total messages: 20 (15 generated)
tzik
PTAL
3 years, 7 months ago (2017-04-26 05:24:57 UTC) #10
gab
lgtm w/ comment https://codereview.chromium.org/2833293004/diff/20001/base/barrier_closure.h File base/barrier_closure.h (right): https://codereview.chromium.org/2833293004/diff/20001/base/barrier_closure.h#newcode24 base/barrier_closure.h:24: // will be released on. This ...
3 years, 7 months ago (2017-04-26 15:07:25 UTC) #13
tzik
https://codereview.chromium.org/2833293004/diff/20001/base/barrier_closure.h File base/barrier_closure.h (right): https://codereview.chromium.org/2833293004/diff/20001/base/barrier_closure.h#newcode24 base/barrier_closure.h:24: // will be released on. On 2017/04/26 15:07:25, gab ...
3 years, 7 months ago (2017-04-27 12:09:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2833293004/40001
3 years, 7 months ago (2017-04-27 12:09:58 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 14:03:35 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/34bf6052665ebb01cfd3dba05e2e...

Powered by Google App Engine
This is Rietveld 408576698