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

Issue 2873453002: Add base::TaskTraits::Override(). (Closed)

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

Description

Add base::TaskTraits::Override(). Returns TaskTraits constructed by combining two TaskTraits. If a trait is in both TaskTraits, the returned TaskTraits will have the value from the second TaskTraits. BUG=713683 R=gab@chromium.org,robliao@chromium.org Review-Url: https://codereview.chromium.org/2873453002 Cr-Commit-Position: refs/heads/master@{#470377} Committed: https://chromium.googlesource.com/chromium/src/+/6ef24a2589286dd4939a20dc1afddf4ecd9212a0

Patch Set 1 #

Patch Set 2 : self-review #

Total comments: 12

Patch Set 3 : CR-gab #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -9 lines) Patch
M base/task_scheduler/post_task.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M base/task_scheduler/task.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M base/task_scheduler/task_traits.h View 1 2 4 chunks +32 lines, -0 lines 0 comments Download
M base/task_scheduler/task_traits_unittest.cc View 1 2 1 chunk +94 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 18 (12 generated)
fdoray
PTAL
3 years, 7 months ago (2017-05-08 20:15:19 UTC) #2
gab
lgtm w/ comments https://codereview.chromium.org/2873453002/diff/20001/base/task_scheduler/task.cc File base/task_scheduler/task.cc (right): https://codereview.chromium.org/2873453002/diff/20001/base/task_scheduler/task.cc#newcode32 base/task_scheduler/task.cc:32: : traits.shutdown_behavior()})), This is weird, I'd ...
3 years, 7 months ago (2017-05-09 14:32:32 UTC) #6
fdoray
https://codereview.chromium.org/2873453002/diff/20001/base/task_scheduler/task.cc File base/task_scheduler/task.cc (right): https://codereview.chromium.org/2873453002/diff/20001/base/task_scheduler/task.cc#newcode32 base/task_scheduler/task.cc:32: : traits.shutdown_behavior()})), On 2017/05/09 14:32:31, gab wrote: > This ...
3 years, 7 months ago (2017-05-09 14:58:34 UTC) #11
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/2873453002/40001
3 years, 7 months ago (2017-05-09 14:59:57 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/6ef24a2589286dd4939a20dc1afddf4ecd9212a0
3 years, 7 months ago (2017-05-09 18:00:37 UTC) #17
robliao
3 years, 7 months ago (2017-05-09 22:01:33 UTC) #18
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698