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

Issue 2958003002: Expose Timer::AbandonAndStop, so it can safely be destroyed on another thread. (Closed)

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

Description

Expose Timer::AbandonAndStop, so it can safely be destroyed on another thread. BUG=chromium:736268 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2958003002 Cr-Commit-Position: refs/heads/master@{#484507} Committed: https://chromium.googlesource.com/chromium/src/+/87340af883f06c363febe752245c1ab1a926a234

Patch Set 1 #

Patch Set 2 : Removed AbandonAndStop and made Stop abandon. #

Total comments: 4

Patch Set 3 : Expose AbandonAndStop and use it in AudioInputController. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -14 lines) Patch
M base/timer/timer.h View 1 2 3 chunks +19 lines, -13 lines 0 comments Download
M media/audio/audio_input_controller.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (23 generated)
ossu-chromium
As I was adding a Timer to a class to do some repeating checks, I ...
3 years, 5 months ago (2017-06-27 15:47:57 UTC) #14
gab
https://codereview.chromium.org/2958003002/diff/20001/base/timer/timer.cc File base/timer/timer.cc (right): https://codereview.chromium.org/2958003002/diff/20001/base/timer/timer.cc#newcode149 base/timer/timer.cc:149: origin_sequence_checker_.DetachFromSequence(); This should allow deletion to happen on any ...
3 years, 5 months ago (2017-06-27 21:12:23 UTC) #15
ossu-chromium
https://codereview.chromium.org/2958003002/diff/20001/base/timer/timer.cc File base/timer/timer.cc (right): https://codereview.chromium.org/2958003002/diff/20001/base/timer/timer.cc#newcode149 base/timer/timer.cc:149: origin_sequence_checker_.DetachFromSequence(); On 2017/06/27 21:12:23, gab (slow Tue-Wed) wrote: > ...
3 years, 5 months ago (2017-06-28 14:21:33 UTC) #16
gab
https://codereview.chromium.org/2958003002/diff/20001/base/timer/timer.cc File base/timer/timer.cc (right): https://codereview.chromium.org/2958003002/diff/20001/base/timer/timer.cc#newcode149 base/timer/timer.cc:149: origin_sequence_checker_.DetachFromSequence(); On 2017/06/28 14:21:33, ossu-chromium wrote: > On 2017/06/27 ...
3 years, 5 months ago (2017-07-05 02:36:15 UTC) #17
ossu-chromium
https://codereview.chromium.org/2958003002/diff/20001/base/timer/timer.cc File base/timer/timer.cc (right): https://codereview.chromium.org/2958003002/diff/20001/base/timer/timer.cc#newcode149 base/timer/timer.cc:149: origin_sequence_checker_.DetachFromSequence(); On 2017/07/05 02:36:14, gab (in-out til july17) wrote: ...
3 years, 5 months ago (2017-07-05 10:58:12 UTC) #18
ossu-chromium
I've uploaded a new patch set that moved AbandonAndStop into the public section and updates ...
3 years, 5 months ago (2017-07-05 16:11:54 UTC) #24
DaleCurtis
media/ lgtm
3 years, 5 months ago (2017-07-05 16:30:59 UTC) #25
gab
lgtm
3 years, 5 months ago (2017-07-05 23:49:36 UTC) #28
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/2958003002/60001
3 years, 5 months ago (2017-07-06 08:57:40 UTC) #30
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 09:02:34 UTC) #33
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/87340af883f06c363febe752245c...

Powered by Google App Engine
This is Rietveld 408576698