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

Issue 2032603002: Migrate WaitableEvent to enum-based constructor in base/ (Closed)

Created:
4 years, 6 months ago by gab
Modified:
4 years, 6 months ago
Reviewers:
danakj, etienneb
CC:
chromium-reviews, Dai Mikurube (NOT FULLTIME), wfh+watch_chromium.org, robliao+watch_chromium.org, gavinp+memory_chromium.org, fdoray+watch_chromium.org, gab+watch_chromium.org, tracing+reviews_chromium.org, sadrul, etienneb, fdoray
Base URL:
https://chromium.googlesource.com/chromium/src.git@WEvent_enums
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Migrate WaitableEvent to enum-based constructor in base/ Change automated with clang-tidy (details @ https://crbug.com/612843#c13) BUG=612843 Committed: https://crrev.com/75d723398f481831c2b94325b2bea82c6e03bd56 Cr-Commit-Position: refs/heads/master@{#397244}

Patch Set 1 #

Total comments: 2

Patch Set 2 : undo incorrect template change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -129 lines) Patch
M base/allocator/allocator_shim_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/files/file_path_watcher_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/memory/weak_ptr_unittest.cc View 7 chunks +14 lines, -7 lines 0 comments Download
M base/message_loop/message_loop_task_runner_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/message_loop/message_pump_default.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M base/message_loop/message_pump_libevent_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/posix/unix_domain_socket_linux_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/profiler/stack_sampling_profiler.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/profiler/stack_sampling_profiler_unittest.cc View 7 chunks +51 lines, -31 lines 0 comments Download
M base/synchronization/waitable_event_unittest.cc View 6 chunks +18 lines, -8 lines 0 comments Download
M base/synchronization/waitable_event_watcher_unittest.cc View 5 chunks +11 lines, -5 lines 0 comments Download
M base/task_scheduler/priority_queue_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/task_scheduler/scheduler_lock_unittest.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M base/task_scheduler/scheduler_service_thread_unittest.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M base/task_scheduler/scheduler_thread_pool_impl.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M base/task_scheduler/scheduler_thread_pool_impl_unittest.cc View 4 chunks +8 lines, -4 lines 0 comments Download
M base/task_scheduler/scheduler_worker_thread.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/task_scheduler/scheduler_worker_thread_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M base/task_scheduler/task_scheduler_impl.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M base/task_scheduler/task_scheduler_impl_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/task_scheduler/task_tracker_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M base/test/test_io_thread.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/test/thread_test_helper.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/test/trace_event_analyzer_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M base/threading/platform_thread_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M base/threading/sequenced_task_runner_handle_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M base/threading/sequenced_worker_pool_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M base/threading/simple_thread.cc View 2 chunks +17 lines, -8 lines 0 comments Download
M base/threading/simple_thread_unittest.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M base/threading/thread.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M base/threading/thread_local_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/threading/thread_perftest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M base/threading/thread_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/threading/worker_pool_posix_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/threading/worker_pool_unittest.cc View 2 chunks +8 lines, -3 lines 0 comments Download
M base/trace_event/memory_dump_manager_unittest.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M base/trace_event/trace_event_unittest.cc View 10 chunks +35 lines, -15 lines 0 comments Download
M base/trace_event/trace_sampling_thread.cc View 1 chunk +3 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 19 (10 generated)
gab
4 years, 6 months ago (2016-06-01 18:25:11 UTC) #3
danakj
LGTM
4 years, 6 months ago (2016-06-01 18:52:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032603002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2032603002/1
4 years, 6 months ago (2016-06-01 19:00:35 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/75029) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 6 months ago (2016-06-01 19:01:18 UTC) #10
gab
@etienne FYI (clang-tidy fixed templated code it probably should have skipped) https://codereview.chromium.org/2032603002/diff/1/base/threading/thread_perftest.cc File base/threading/thread_perftest.cc (right): ...
4 years, 6 months ago (2016-06-01 19:16:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032603002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2032603002/20001
4 years, 6 months ago (2016-06-01 19:17:10 UTC) #14
etienneb
https://codereview.chromium.org/2032603002/diff/1/base/threading/thread_perftest.cc File base/threading/thread_perftest.cc (right): https://codereview.chromium.org/2032603002/diff/1/base/threading/thread_perftest.cc#newcode186 base/threading/thread_perftest.cc:186: WaitableEvent::InitialState::NOT_SIGNALED)); On 2016/06/01 19:16:05, gab wrote: > @etienneb: weird ...
4 years, 6 months ago (2016-06-01 19:53:27 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-01 21:15:51 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 21:17:10 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/75d723398f481831c2b94325b2bea82c6e03bd56
Cr-Commit-Position: refs/heads/master@{#397244}

Powered by Google App Engine
This is Rietveld 408576698