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

Issue 9703053: Remove old Sleep and PostDelayedTask interfaces that use int ms instead of TimeDelta. (Closed)

Created:
8 years, 9 months ago by Ted Vessenes
Modified:
8 years, 6 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, sadrul, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, jam, garykac+watch_chromium.org, joi+watch-content_chromium.org, lambroslambrou+watch_chromium.org, darin-cc_chromium.org, simonmorris+watch_chromium.org, brettw-cc_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Remove old PostDelayedTask interfaces that use int ms instead of TimeDelta. BUG=108171 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140102 Reverted due to crash in cros_x86 and cros_tegra2 builds.

Patch Set 1 #

Patch Set 2 : Remove old PDT interface in webkit/dom_storage. #

Total comments: 1

Patch Set 3 : Fix comment formatting nit. #

Patch Set 4 : Rebase onto master. #

Patch Set 5 : Update unit tests. #

Patch Set 6 : Fix some PostDelayedTask interfaces for windows. #

Patch Set 7 : Rebase onto master. #

Total comments: 2

Patch Set 8 : Remove recursive function and weird whitespace fixes. #

Patch Set 9 : Rebase onto master. #

Patch Set 10 : Rebase onto master. #

Patch Set 11 : Fix cros_x86 and cros_tegra2 crashes. #

Patch Set 12 : Fix cros_x86 and cros_tegra2 crashes. #

Patch Set 13 : Rebase onto master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -286 lines) Patch
M base/message_loop.h View 1 2 3 4 5 6 3 chunks +1 line, -9 lines 0 comments Download
M base/message_loop.cc View 1 2 3 4 5 6 7 8 4 chunks +18 lines, -30 lines 0 comments Download
M base/message_loop_proxy_impl.h View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M base/message_loop_proxy_impl.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M base/sequenced_task_runner.h View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M base/sequenced_task_runner.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/task_runner.h View 1 chunk +0 lines, -5 lines 0 comments Download
M base/task_runner.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/threading/platform_thread.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M base/threading/platform_thread_posix.cc View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
base/threading/platform_thread_win.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M base/threading/sequenced_worker_pool.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M base/threading/sequenced_worker_pool.cc View 1 2 3 11 chunks +4 lines, -70 lines 0 comments Download
A base/threading/sequenced_worker_pool_task_runner.h View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
A base/threading/sequenced_worker_pool_task_runner.cc View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download
M base/threading/worker_pool.cc View 1 2 3 4 chunks +4 lines, -14 lines 0 comments Download
M chrome/browser/policy/cloud_policy_refresh_scheduler_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M cloud_print/service/service_state.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/browser_thread_impl.cc View 1 2 3 4 chunks +0 lines, -39 lines 0 comments Download
M content/browser/download/byte_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +7 lines, -14 lines 0 comments Download
M content/public/browser/browser_thread.h View 1 2 3 2 chunks +0 lines, -9 lines 0 comments Download
M remoting/base/plugin_message_loop_proxy.h View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M remoting/base/plugin_message_loop_proxy.cc View 2 chunks +0 lines, -16 lines 0 comments Download
M webkit/dom_storage/dom_storage_task_runner.h View 1 2 3 4 5 6 1 chunk +0 lines, -7 lines 0 comments Download
M webkit/dom_storage/dom_storage_task_runner.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 53 (0 generated)
Ted Vessenes
sky: Please review content/browser/* sergeyu: Please reviewremoting/* jam: The rest is yours This should be ...
8 years, 9 months ago (2012-03-15 04:48:27 UTC) #1
michaeln
there are a couple new overrides in src/webkit/dom_storage/dom_storage_task_runner.h that should be removed too
8 years, 9 months ago (2012-03-15 05:25:09 UTC) #2
Ted Vessenes
On 2012/03/15 05:25:09, michaeln wrote: > there are a couple new overrides in > src/webkit/dom_storage/dom_storage_task_runner.h ...
8 years, 9 months ago (2012-03-15 12:39:34 UTC) #3
jam
content lgtm. note i'm not an owner in webkit
8 years, 9 months ago (2012-03-15 15:05:31 UTC) #4
Ted Vessenes
On 2012/03/15 15:05:31, John Abd-El-Malek wrote: > content lgtm. note i'm not an owner in ...
8 years, 9 months ago (2012-03-15 15:09:38 UTC) #5
michaeln
lgtm2
8 years, 9 months ago (2012-03-15 16:31:46 UTC) #6
sky
LGTM
8 years, 9 months ago (2012-03-15 17:18:44 UTC) #7
Jamie
remoting/ lgtm
8 years, 9 months ago (2012-03-15 17:33:10 UTC) #8
Ted Vessenes
I think that's a full set of LGTMs. Has anyone sent this to the try ...
8 years, 9 months ago (2012-03-15 17:36:06 UTC) #9
sky
If you click the commit button it'll run it through the try bots for you.
8 years, 9 months ago (2012-03-15 19:03:30 UTC) #10
Ted Vessenes
On 2012/03/15 19:03:30, sky wrote: > If you click the commit button it'll run it ...
8 years, 9 months ago (2012-03-15 19:17:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedvessenes@gmail.com/9703053/2002
8 years, 9 months ago (2012-03-15 19:26:53 UTC) #12
commit-bot: I haz the power
Presubmit check for 9703053-2002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 9 months ago (2012-03-15 19:27:05 UTC) #13
Ted Vessenes
Looks like I need a review from jar@chromium.org as well.
8 years, 9 months ago (2012-03-15 19:28:32 UTC) #14
jar (doing other things)
Please either avoid using the commit queue for this, or at least be around when ...
8 years, 9 months ago (2012-03-15 19:42:12 UTC) #15
sky
You can always explicitly run certain bots if you so desire. -Scott On Thu, Mar ...
8 years, 9 months ago (2012-03-15 19:44:42 UTC) #16
Ted Vessenes
On 2012/03/15 19:44:42, sky wrote: > You can always explicitly run certain bots if you ...
8 years, 9 months ago (2012-03-15 19:48:11 UTC) #17
Sergey Ulanov
remoting/ - LGTM https://chromiumcodereview.appspot.com/9703053/diff/2002/webkit/dom_storage/dom_storage_task_runner.h File webkit/dom_storage/dom_storage_task_runner.h (right): https://chromiumcodereview.appspot.com/9703053/diff/2002/webkit/dom_storage/dom_storage_task_runner.h#newcode42 webkit/dom_storage/dom_storage_task_runner.h:42: // terms of PostDelayedTask nit: add ...
8 years, 9 months ago (2012-03-15 19:58:50 UTC) #18
sky
Sorry, you're probably right. -Scott On Thu, Mar 15, 2012 at 12:48 PM, <tedvessenes@gmail.com> wrote: ...
8 years, 9 months ago (2012-03-15 21:12:04 UTC) #19
michaeln
eta on committing this change? seems like nice cleaning up of cruft
8 years, 9 months ago (2012-03-17 02:46:27 UTC) #20
Ted Vessenes
On 2012/03/17 02:46:27, michaeln wrote: > eta on committing this change? seems like nice cleaning ...
8 years, 9 months ago (2012-03-17 02:51:47 UTC) #21
michaeln
great :)
8 years, 9 months ago (2012-03-17 03:44:05 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedvessenes@gmail.com/9703053/9001
8 years, 9 months ago (2012-03-17 15:14:02 UTC) #23
commit-bot: I haz the power
Try job failure for 9703053-9001 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-17 15:30:05 UTC) #24
Ted Vessenes
Alright, the summary is that there's a bunch of non-linux gcc platform bugs to handle. ...
8 years, 9 months ago (2012-03-17 18:56:38 UTC) #25
Ted Vessenes
Finally got all the other bugs work out, and try bots seem to be accepting ...
8 years, 7 months ago (2012-05-24 03:44:03 UTC) #26
jar (doing other things)
Although I like the abstract cleanliness, I'm wondering if this transition to TimeDelta has a ...
8 years, 7 months ago (2012-05-24 17:54:57 UTC) #27
Ted Vessenes
I was actually thinking about this today when I was faced with implementing a TimeDelta ...
8 years, 7 months ago (2012-05-24 18:56:22 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedvessenes@gmail.com/9703053/38002
8 years, 7 months ago (2012-05-25 02:19:37 UTC) #29
commit-bot: I haz the power
Try job failure for 9703053-38002 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-25 02:36:08 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedvessenes@gmail.com/9703053/38002
8 years, 7 months ago (2012-05-25 14:08:23 UTC) #31
commit-bot: I haz the power
Try job failure for 9703053-38002 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-25 14:30:39 UTC) #32
Ted Vessenes
Found two remaining Windows issues to correct. Try bots pass after these fixes. abodenha: Please ...
8 years, 6 months ago (2012-05-28 15:28:54 UTC) #33
Albert Bodenhamer
LGTM Reviewed Cloud Print only.
8 years, 6 months ago (2012-05-29 04:39:41 UTC) #34
Joao da Silva
chrome/browser/policy lgtm
8 years, 6 months ago (2012-05-29 09:18:16 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedvessenes@gmail.com/9703053/41003
8 years, 6 months ago (2012-05-29 13:13:13 UTC) #36
commit-bot: I haz the power
Failed to apply patch for cloud_print/service/win/service_state.cc: While running patch -p1 --forward --force; patching file cloud_print/service/win/service_state.cc ...
8 years, 6 months ago (2012-05-29 13:13:25 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedvessenes@gmail.com/9703053/33005
8 years, 6 months ago (2012-05-30 03:25:17 UTC) #38
commit-bot: I haz the power
Failed to apply patch for cloud_print/service/win/service_state.cc: While running patch -p1 --forward --force; patching file cloud_print/service/win/service_state.cc ...
8 years, 6 months ago (2012-05-30 03:25:33 UTC) #39
michaeln
http://codereview.chromium.org/9703053/diff/33005/webkit/dom_storage/dom_storage_task_runner.cc File webkit/dom_storage/dom_storage_task_runner.cc (right): http://codereview.chromium.org/9703053/diff/33005/webkit/dom_storage/dom_storage_task_runner.cc#newcode24 webkit/dom_storage/dom_storage_task_runner.cc:24: return PostDelayedTask(from_here, task, delay); whoa... this looks like a ...
8 years, 6 months ago (2012-05-30 03:39:06 UTC) #40
Ted Vessenes
Yeah, that function should have been deleted, I believe. I'm a wee bit suspicious that ...
8 years, 6 months ago (2012-05-30 03:56:08 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedvessenes@gmail.com/9703053/33005
8 years, 6 months ago (2012-05-30 12:45:45 UTC) #42
commit-bot: I haz the power
Failed to apply patch for cloud_print/service/win/service_state.cc: While running patch -p1 --forward --force; patching file cloud_print/service/win/service_state.cc ...
8 years, 6 months ago (2012-05-30 12:45:57 UTC) #43
Ted Vessenes
Alright, looking into why this patch isn't applying. First I thought it just wasn't rebasing ...
8 years, 6 months ago (2012-05-30 12:49:45 UTC) #44
michaeln
http://codereview.chromium.org/9703053/diff/33005/webkit/dom_storage/dom_storage_task_runner.cc File webkit/dom_storage/dom_storage_task_runner.cc (right): http://codereview.chromium.org/9703053/diff/33005/webkit/dom_storage/dom_storage_task_runner.cc#newcode20 webkit/dom_storage/dom_storage_task_runner.cc:20: bool DomStorageTaskRunner::PostDelayedTask( Also, please remember to remove this method ...
8 years, 6 months ago (2012-05-30 17:44:54 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedvessenes@gmail.com/9703053/31007
8 years, 6 months ago (2012-05-31 01:06:52 UTC) #46
commit-bot: I haz the power
Failed to apply patch for cloud_print/service/win/service_state.cc: While running svn propset svn:eol-style LF cloud_print/service/win/service_state.cc --config-dir /mnt/data/b/commit-queue/subversion_config ...
8 years, 6 months ago (2012-05-31 01:07:21 UTC) #47
Ted Vessenes
So this is odd. The file as it exists in the repository contains windows style ...
8 years, 6 months ago (2012-05-31 01:34:02 UTC) #48
Joao da Silva
On Thu, May 31, 2012 at 3:34 AM, <tedvessenes@gmail.com> wrote: > So this is odd. ...
8 years, 6 months ago (2012-05-31 08:52:16 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedvessenes@gmail.com/9703053/31007
8 years, 6 months ago (2012-05-31 13:24:15 UTC) #50
commit-bot: I haz the power
Try job failure for 9703053-31007 (retry) on android for steps "compile, build" (clobber build). It's ...
8 years, 6 months ago (2012-05-31 13:55:39 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedvessenes@gmail.com/9703053/49006
8 years, 6 months ago (2012-06-01 18:43:05 UTC) #52
commit-bot: I haz the power
8 years, 6 months ago (2012-06-01 21:33:04 UTC) #53
Change committed as 140102

Powered by Google App Engine
This is Rietveld 408576698