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

Issue 1088053003: Patch 1/3 to get WebScheduler via WebThread (Closed)

Created:
5 years, 8 months ago by alex clarke (OOO till 29th)
Modified:
5 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, kinuko+watch, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, picksi1, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch 1/3 to get WebScheduler via WebThread Now that all blink threads have schedulers it makes sense to get hold the corresponding WebScheduler via WebThread. This patch is the chromium side of doing that. Patch 2: https://codereview.chromium.org/1087203002 Patch 3: https://codereview.chromium.org/1084173002 BUG=463143 Committed: https://crrev.com/c7d0777cb2c80c16082bd4d6bea0d70a6b0efbbb Cr-Commit-Position: refs/heads/master@{#325450}

Patch Set 1 #

Patch Set 2 : Fix compile #

Total comments: 15

Patch Set 3 : Added a BaseWebScheduler #

Total comments: 2

Patch Set 4 : Rebased + made the suggested changes #

Patch Set 5 : Tidy up a couple of diffs #

Patch Set 6 : Rebase #

Total comments: 2

Patch Set 7 : Whitespace change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -184 lines) Patch
A + content/child/scheduler/web_scheduler_impl.h View 1 2 3 4 4 chunks +12 lines, -7 lines 0 comments Download
A + content/child/scheduler/web_scheduler_impl.cc View 1 2 3 4 5 6 2 chunks +16 lines, -11 lines 0 comments Download
M content/child/scheduler/webthread_impl_for_worker_scheduler.h View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M content/child/scheduler/webthread_impl_for_worker_scheduler.cc View 1 2 3 4 4 chunks +11 lines, -1 line 0 comments Download
M content/content_child.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
D content/renderer/scheduler/web_scheduler_impl.h View 1 chunk +0 lines, -56 lines 0 comments Download
D content/renderer/scheduler/web_scheduler_impl.cc View 1 chunk +0 lines, -101 lines 0 comments Download
M content/renderer/scheduler/webthread_impl_for_renderer_scheduler.h View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/scheduler/webthread_impl_for_renderer_scheduler.cc View 1 2 3 3 chunks +10 lines, -1 line 0 comments Download
M content/test/test_blink_web_unit_test_support.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/test/test_blink_web_unit_test_support.cc View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (10 generated)
alex clarke (OOO till 29th)
5 years, 8 months ago (2015-04-15 11:19:19 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088053003/40001
5 years, 8 months ago (2015-04-15 11:23:26 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/56475)
5 years, 8 months ago (2015-04-15 11:31:57 UTC) #7
rmcilroy
https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/worker_web_scheduler_impl.cc File content/child/scheduler/worker_web_scheduler_impl.cc (right): https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/worker_web_scheduler_impl.cc#newcode14 content/child/scheduler/worker_web_scheduler_impl.cc:14: WorkerWebSchedulerImpl::WorkerWebSchedulerImpl( Do we need a separate one of these ...
5 years, 8 months ago (2015-04-15 12:27:28 UTC) #8
Sami
https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/webthread_impl_for_worker_scheduler.cc File content/child/scheduler/webthread_impl_for_worker_scheduler.cc (right): https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/webthread_impl_for_worker_scheduler.cc#newcode55 content/child/scheduler/webthread_impl_for_worker_scheduler.cc:55: web_scheduler_.reset(nullptr); WorkerWebSchedulerImpl should be destructed before worker_scheduler since the ...
5 years, 8 months ago (2015-04-15 12:37:13 UTC) #9
alex clarke (OOO till 29th)
https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/webthread_impl_for_worker_scheduler.cc File content/child/scheduler/webthread_impl_for_worker_scheduler.cc (right): https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/webthread_impl_for_worker_scheduler.cc#newcode55 content/child/scheduler/webthread_impl_for_worker_scheduler.cc:55: web_scheduler_.reset(nullptr); On 2015/04/15 12:37:13, Sami wrote: > WorkerWebSchedulerImpl should ...
5 years, 8 months ago (2015-04-15 14:25:46 UTC) #10
rmcilroy
https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/worker_web_scheduler_impl.cc File content/child/scheduler/worker_web_scheduler_impl.cc (right): https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/worker_web_scheduler_impl.cc#newcode14 content/child/scheduler/worker_web_scheduler_impl.cc:14: WorkerWebSchedulerImpl::WorkerWebSchedulerImpl( On 2015/04/15 14:25:46, alexclarke1 wrote: > On 2015/04/15 ...
5 years, 8 months ago (2015-04-15 17:58:15 UTC) #11
rmcilroy
5 years, 8 months ago (2015-04-15 17:58:17 UTC) #12
alex clarke (OOO till 29th)
https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/worker_web_scheduler_impl.cc File content/child/scheduler/worker_web_scheduler_impl.cc (right): https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/worker_web_scheduler_impl.cc#newcode14 content/child/scheduler/worker_web_scheduler_impl.cc:14: WorkerWebSchedulerImpl::WorkerWebSchedulerImpl( On 2015/04/15 17:58:15, rmcilroy wrote: > On 2015/04/15 ...
5 years, 8 months ago (2015-04-16 09:11:55 UTC) #13
Sami
https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/worker_web_scheduler_impl.cc File content/child/scheduler/worker_web_scheduler_impl.cc (right): https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/worker_web_scheduler_impl.cc#newcode14 content/child/scheduler/worker_web_scheduler_impl.cc:14: WorkerWebSchedulerImpl::WorkerWebSchedulerImpl( On 2015/04/16 09:11:55, alexclarke1 wrote: > On 2015/04/15 ...
5 years, 8 months ago (2015-04-16 10:44:01 UTC) #14
rmcilroy
https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/worker_web_scheduler_impl.cc File content/child/scheduler/worker_web_scheduler_impl.cc (right): https://codereview.chromium.org/1088053003/diff/40001/content/child/scheduler/worker_web_scheduler_impl.cc#newcode14 content/child/scheduler/worker_web_scheduler_impl.cc:14: WorkerWebSchedulerImpl::WorkerWebSchedulerImpl( On 2015/04/16 10:44:01, Sami wrote: > On 2015/04/16 ...
5 years, 8 months ago (2015-04-16 11:21:05 UTC) #15
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/1088053003/diff/60001/content/child/scheduler/webthread_impl_for_worker_scheduler.cc File content/child/scheduler/webthread_impl_for_worker_scheduler.cc (right): https://codereview.chromium.org/1088053003/diff/60001/content/child/scheduler/webthread_impl_for_worker_scheduler.cc#newcode54 content/child/scheduler/webthread_impl_for_worker_scheduler.cc:54: web_scheduler_.reset(nullptr); On 2015/04/16 10:44:01, Sami wrote: > nit: ...
5 years, 8 months ago (2015-04-16 13:35:01 UTC) #17
alex clarke (OOO till 29th)
jochen@chromium.org: Can I please get an owners review for content/renderer and content/test
5 years, 8 months ago (2015-04-16 13:36:02 UTC) #19
Sami
Great, looks pretty simple now. lgtm. https://codereview.chromium.org/1088053003/diff/130001/content/child/scheduler/web_scheduler_impl.cc File content/child/scheduler/web_scheduler_impl.cc (left): https://codereview.chromium.org/1088053003/diff/130001/content/child/scheduler/web_scheduler_impl.cc#oldcode100 content/child/scheduler/web_scheduler_impl.cc:100: Intentional?
5 years, 8 months ago (2015-04-16 13:59:51 UTC) #20
alex clarke (OOO till 29th)
https://codereview.chromium.org/1088053003/diff/130001/content/child/scheduler/web_scheduler_impl.cc File content/child/scheduler/web_scheduler_impl.cc (left): https://codereview.chromium.org/1088053003/diff/130001/content/child/scheduler/web_scheduler_impl.cc#oldcode100 content/child/scheduler/web_scheduler_impl.cc:100: On 2015/04/16 13:59:50, Sami wrote: > Intentional? Done.
5 years, 8 months ago (2015-04-16 14:03:05 UTC) #21
rmcilroy
On 2015/04/16 14:03:05, alexclarke1 wrote: > https://codereview.chromium.org/1088053003/diff/130001/content/child/scheduler/web_scheduler_impl.cc > File content/child/scheduler/web_scheduler_impl.cc (left): > > https://codereview.chromium.org/1088053003/diff/130001/content/child/scheduler/web_scheduler_impl.cc#oldcode100 > ...
5 years, 8 months ago (2015-04-16 14:21:26 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088053003/150001
5 years, 8 months ago (2015-04-16 14:26:31 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/56811)
5 years, 8 months ago (2015-04-16 14:34:25 UTC) #27
jochen (gone - plz use gerrit)
lgtm
5 years, 8 months ago (2015-04-16 14:41:51 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088053003/150001
5 years, 8 months ago (2015-04-16 14:49:06 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:150001)
5 years, 8 months ago (2015-04-16 16:05:02 UTC) #31
commit-bot: I haz the power
5 years, 8 months ago (2015-04-16 16:06:01 UTC) #32
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/c7d0777cb2c80c16082bd4d6bea0d70a6b0efbbb
Cr-Commit-Position: refs/heads/master@{#325450}

Powered by Google App Engine
This is Rietveld 408576698