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

Issue 2557663002: GetTimeToCallback() returns estimated time to callback. (Closed)

Created:
4 years ago by The one and only Dr. Crash
Modified:
3 years, 11 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, chirantan+watch_chromium.org, vmpstr+watch_chromium.org, dkalin, kumarniranjan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GetTimeToCallback() returns estimated time to callback. BUG=none TEST=unit tests Committed: https://crrev.com/ceb6d93b695b137481f050f5b967d882a77b7398 Cr-Commit-Position: refs/heads/master@{#439174}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Updated unite tests. #

Patch Set 3 : Updated doc. #

Patch Set 4 : Always return time to call back WRT scheduled time. #

Patch Set 5 : Removed an old file that sneaked in the patchest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -0 lines) Patch
M base/timer/timer.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M base/timer/timer.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M base/timer/timer_unittest.cc View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (15 generated)
The one and only Dr. Crash
Per our discussion, added a method to return the time to the next callback.
4 years ago (2016-12-06 06:29:26 UTC) #3
The one and only Dr. Crash
On 2016/12/06 06:29:26, The one and only Dr. Crash wrote: > Per our discussion, added ...
4 years ago (2016-12-06 08:35:31 UTC) #4
Mark Mentovai
https://codereview.chromium.org/2557663002/diff/1/base/timer/timer.h File base/timer/timer.h (right): https://codereview.chromium.org/2557663002/diff/1/base/timer/timer.h#newcode103 base/timer/timer.h:103: // Returns an estimated time to the timer calling ...
4 years ago (2016-12-06 18:01:16 UTC) #5
The one and only Dr. Crash
https://codereview.chromium.org/2557663002/diff/1/base/timer/timer.h File base/timer/timer.h (right): https://codereview.chromium.org/2557663002/diff/1/base/timer/timer.h#newcode103 base/timer/timer.h:103: // Returns an estimated time to the timer calling ...
4 years ago (2016-12-06 20:04:38 UTC) #6
Mark Mentovai
https://codereview.chromium.org/2557663002/diff/1/base/timer/timer.h File base/timer/timer.h (right): https://codereview.chromium.org/2557663002/diff/1/base/timer/timer.h#newcode103 base/timer/timer.h:103: // Returns an estimated time to the timer calling ...
4 years ago (2016-12-06 20:09:54 UTC) #7
The one and only Dr. Crash
OK. On Tue, Dec 6, 2016, 12:09 <mark@chromium.org> wrote: > > https://codereview.chromium.org/2557663002/diff/1/base/timer/timer.h > File base/timer/timer.h ...
4 years ago (2016-12-06 20:34:08 UTC) #8
The one and only Dr. Crash
Ignore patchset 2 (wrong git branch). Patchset 3 does what you asked.
4 years ago (2016-12-06 22:33:26 UTC) #9
Mark Mentovai
LGTM
4 years ago (2016-12-06 22:37:52 UTC) #12
The one and only Dr. Crash
So I realized that if the timer has fired (or was scheduled to be fired, ...
4 years ago (2016-12-06 23:30:40 UTC) #14
The one and only Dr. Crash
Mark, I made the changes I was talking about, do you want to have a ...
4 years ago (2016-12-14 19:51:02 UTC) #15
Mark Mentovai
LGTM
4 years ago (2016-12-14 20:12:40 UTC) #16
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/2557663002/60001
4 years ago (2016-12-14 20:36:13 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/124231)
4 years ago (2016-12-14 21:04:29 UTC) #20
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/2557663002/80001
4 years ago (2016-12-15 20:45:36 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/357364)
4 years ago (2016-12-15 23:10:33 UTC) #25
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/2557663002/80001
4 years ago (2016-12-16 17:55:49 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-16 20:10:40 UTC) #30
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/ceb6d93b695b137481f050f5b967d882a77b7398 Cr-Commit-Position: refs/heads/master@{#439174}
4 years ago (2016-12-16 20:14:28 UTC) #32
gab
What was this added for? There's not associated BUG on this CL and I don't ...
3 years, 12 months ago (2016-12-23 20:21:22 UTC) #33
The one and only Dr. Crash
I added that to be able to handle timeouts across multiple calls in a pending ...
3 years, 11 months ago (2016-12-28 18:04:45 UTC) #35
gab
On 2016/12/28 18:04:45, The one and only Dr. Crash wrote: > I added that to ...
3 years, 11 months ago (2017-01-05 22:21:20 UTC) #36
The one and only Dr. Crash
Ok, get rid of that method then and I'll do something on my side. On ...
3 years, 11 months ago (2017-01-06 05:36:49 UTC) #37
gab
3 years, 11 months ago (2017-01-09 16:17:06 UTC) #38
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2621663002/ by gab@chromium.org.

The reason for reverting is: Removing Timer::GetTimeToCallback() as discussed
post commit on CL introducing it..

Powered by Google App Engine
This is Rietveld 408576698