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

Issue 2091503004: Add move constructor in ScopedClosureRunner. (Closed)

Created:
4 years, 5 months ago by Sergey Ulanov
Modified:
4 years, 5 months ago
Reviewers:
danakj
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add move constructor in ScopedClosureRunner. With this change ScopedClosureRunner will be movable. This will allow to store instances of that class in STL containers, e.g. to store list of callbacks to be called when certain event happens. Committed: https://crrev.com/e4be1917688638c0ce8b2e3ddbe70089bbee9fb7 Cr-Commit-Position: refs/heads/master@{#402031}

Patch Set 1 : . #

Total comments: 6

Patch Set 2 : unittest, operator= #

Patch Set 3 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -6 lines) Patch
M base/callback_helpers.h View 1 2 1 chunk +13 lines, -2 lines 0 comments Download
M base/callback_helpers.cc View 1 1 chunk +11 lines, -4 lines 0 comments Download
M base/callback_helpers_unittest.cc View 1 1 chunk +43 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (7 generated)
Sergey Ulanov
4 years, 5 months ago (2016-06-23 19:16:41 UTC) #3
danakj
unit test? https://codereview.chromium.org/2091503004/diff/20001/base/callback_helpers.h File base/callback_helpers.h (right): https://codereview.chromium.org/2091503004/diff/20001/base/callback_helpers.h#newcode31 base/callback_helpers.h:31: // that theClosure is executed no matter ...
4 years, 5 months ago (2016-06-23 20:19:28 UTC) #5
Sergey Ulanov
added unittest now https://codereview.chromium.org/2091503004/diff/20001/base/callback_helpers.h File base/callback_helpers.h (right): https://codereview.chromium.org/2091503004/diff/20001/base/callback_helpers.h#newcode31 base/callback_helpers.h:31: // that theClosure is executed no ...
4 years, 5 months ago (2016-06-23 23:30:32 UTC) #6
danakj
LGTM https://codereview.chromium.org/2091503004/diff/20001/base/callback_helpers.h File base/callback_helpers.h (right): https://codereview.chromium.org/2091503004/diff/20001/base/callback_helpers.h#newcode35 base/callback_helpers.h:35: ScopedClosureRunner(ScopedClosureRunner&& other); On 2016/06/23 23:30:32, Sergey Ulanov wrote: ...
4 years, 5 months ago (2016-06-24 20:06:30 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/2091503004/diff/20001/base/callback_helpers.h File base/callback_helpers.h (right): https://codereview.chromium.org/2091503004/diff/20001/base/callback_helpers.h#newcode35 base/callback_helpers.h:35: ScopedClosureRunner(ScopedClosureRunner&& other); On 2016/06/24 20:06:30, danakj wrote: > On ...
4 years, 5 months ago (2016-06-24 23:44:01 UTC) #8
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/2091503004/60001
4 years, 5 months ago (2016-06-24 23:44:51 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 5 months ago (2016-06-25 00:51:21 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-06-25 00:53:42 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e4be1917688638c0ce8b2e3ddbe70089bbee9fb7
Cr-Commit-Position: refs/heads/master@{#402031}

Powered by Google App Engine
This is Rietveld 408576698