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

Issue 2735903002: Fix OnceCallback example in docs/callback.md (Closed)

Created:
3 years, 9 months ago by michaelpg
Modified:
3 years, 9 months ago
Reviewers:
tzik
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix OnceCallback example in docs/callback.md Fixes the original example, which resulted in an invalid conversion from base::OnceCallback<void(int)> to base::Closure. Also adds a comment that this usage is not yet supported. BUG=none R=tzik@chromium.org Review-Url: https://codereview.chromium.org/2735903002 Cr-Commit-Position: refs/heads/master@{#456886} Committed: https://chromium.googlesource.com/chromium/src/+/126f704d1c44627098d024123ade6466bde7825f

Patch Set 1 #

Patch Set 2 : fix? #

Patch Set 3 : tzik #

Total comments: 2

Patch Set 4 : BindOnce #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M docs/callback.md View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 19 (9 generated)
michaelpg
tzik: This is based on an actual error I'm encountering. Is my explanation in the ...
3 years, 9 months ago (2017-03-07 01:01:36 UTC) #2
michaelpg
On 2017/03/07 01:01:36, michaelpg wrote: > tzik: This is based on an actual error I'm ...
3 years, 9 months ago (2017-03-07 01:26:59 UTC) #4
tzik
On 2017/03/07 01:26:59, michaelpg wrote: > On 2017/03/07 01:01:36, michaelpg wrote: > > tzik: This ...
3 years, 9 months ago (2017-03-13 06:40:38 UTC) #5
michaelpg
On 2017/03/13 06:40:38, tzik wrote: > On 2017/03/07 01:26:59, michaelpg wrote: > > On 2017/03/07 ...
3 years, 9 months ago (2017-03-13 17:49:22 UTC) #7
tzik
Thanks! https://codereview.chromium.org/2735903002/diff/40001/docs/callback.md File docs/callback.md (right): https://codereview.chromium.org/2735903002/diff/40001/docs/callback.md#newcode73 docs/callback.md:73: PostTask(FROM_HERE, base::Bind(std::move(cb), 42)); // not yet implemented! Could ...
3 years, 9 months ago (2017-03-14 03:25:06 UTC) #8
michaelpg
https://codereview.chromium.org/2735903002/diff/40001/docs/callback.md File docs/callback.md (right): https://codereview.chromium.org/2735903002/diff/40001/docs/callback.md#newcode73 docs/callback.md:73: PostTask(FROM_HERE, base::Bind(std::move(cb), 42)); // not yet implemented! On 2017/03/14 ...
3 years, 9 months ago (2017-03-14 05:02:09 UTC) #9
tzik
lgtm
3 years, 9 months ago (2017-03-14 06:51:05 UTC) #10
commit-bot: I haz the power
COMMIT=false detected. CQ is abandoning the patch.
3 years, 9 months ago (2017-03-14 23:04:42 UTC) #13
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/2735903002/60001
3 years, 9 months ago (2017-03-14 23:11:12 UTC) #16
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 23:23:47 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/126f704d1c44627098d024123ade...

Powered by Google App Engine
This is Rietveld 408576698