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

Issue 1652083002: Prepare for per-webview virtual time (Closed)

Created:
4 years, 10 months ago by alex clarke (OOO till 29th)
Modified:
4 years, 10 months ago
Reviewers:
Sami, no sievers
CC:
jochen (gone - plz use gerrit), chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, blink-reviews, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, 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

Prepare for per-webview virtual time This patch removes the initial global virtual time implementation (including the flag) and prepares for per-webview virtual time. A follow on patch will wire this up in blink: https://codereview.chromium.org/1646583002/ BUG=546953 Committed: https://crrev.com/d4b2c47b8488ca4f943735c663bcb45c42765cdc Cr-Commit-Position: refs/heads/master@{#373032}

Patch Set 1 #

Patch Set 2 : Remove an unwanted change #

Patch Set 3 : rename useVirtualTime #

Total comments: 10

Patch Set 4 : Sami's comments #

Patch Set 5 : Fix build #

Total comments: 4

Patch Set 6 : Fix compile #

Patch Set 7 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+676 lines, -302 lines) Patch
M components/components_tests.gyp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/scheduler/BUILD.gn View 3 chunks +3 lines, -3 lines 0 comments Download
M components/scheduler/base/task_queue.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M components/scheduler/base/task_queue_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/scheduler/base/task_queue_impl.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M components/scheduler/base/task_queue_manager.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M components/scheduler/base/task_queue_manager.cc View 1 2 3 4 chunks +10 lines, -5 lines 0 comments Download
M components/scheduler/base/task_queue_manager_delegate.h View 1 chunk +0 lines, -10 lines 0 comments Download
M components/scheduler/base/task_queue_manager_delegate_for_test.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/scheduler/base/task_queue_manager_delegate_for_test.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M components/scheduler/base/task_queue_manager_unittest.cc View 1 chunk +77 lines, -0 lines 0 comments Download
M components/scheduler/child/scheduler_helper.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/scheduler/child/scheduler_helper.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M components/scheduler/child/scheduler_tqm_delegate_for_test.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/scheduler/child/scheduler_tqm_delegate_for_test.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M components/scheduler/child/scheduler_tqm_delegate_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/scheduler/child/scheduler_tqm_delegate_impl.cc View 1 chunk +0 lines, -6 lines 0 comments Download
D components/scheduler/child/virtual_time_tqm_delegate.h View 1 chunk +0 lines, -64 lines 0 comments Download
D components/scheduler/child/virtual_time_tqm_delegate.cc View 1 chunk +0 lines, -93 lines 0 comments Download
D components/scheduler/child/virtual_time_tqm_delegate_unittest.cc View 1 chunk +0 lines, -54 lines 0 comments Download
M components/scheduler/common/scheduler_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M components/scheduler/common/scheduler_switches.cc View 1 chunk +0 lines, -5 lines 0 comments Download
A components/scheduler/renderer/auto_advancing_virtual_time_domain.h View 1 chunk +45 lines, -0 lines 0 comments Download
A components/scheduler/renderer/auto_advancing_virtual_time_domain.cc View 1 chunk +43 lines, -0 lines 0 comments Download
A components/scheduler/renderer/auto_advancing_virtual_time_domain_unittest.cc View 1 chunk +92 lines, -0 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler.h View 1 chunk +8 lines, -2 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler.cc View 2 chunks +3 lines, -10 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl.cc View 1 2 3 4 5 6 1 chunk +16 lines, -4 lines 0 comments Download
M components/scheduler/renderer/web_frame_scheduler_impl.h View 4 chunks +8 lines, -2 lines 0 comments Download
M components/scheduler/renderer/web_frame_scheduler_impl.cc View 1 2 3 4 5 4 chunks +55 lines, -2 lines 0 comments Download
M components/scheduler/renderer/web_view_scheduler_impl.h View 1 2 3 4 5 4 chunks +16 lines, -0 lines 0 comments Download
M components/scheduler/renderer/web_view_scheduler_impl.cc View 1 2 3 4 5 4 chunks +47 lines, -3 lines 0 comments Download
M components/scheduler/renderer/web_view_scheduler_impl_unittest.cc View 1 2 3 4 5 3 chunks +214 lines, -0 lines 0 comments Download
M components/scheduler/scheduler.gypi View 2 chunks +2 lines, -2 lines 0 comments Download
M components/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M content/test/fake_renderer_scheduler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/fake_renderer_scheduler.cc View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 57 (29 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652083002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652083002/1
4 years, 10 months ago (2016-02-01 15:35:12 UTC) #5
alex clarke (OOO till 29th)
Here's a slightly cut down version Sami.
4 years, 10 months ago (2016-02-01 15:42:08 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652083002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652083002/20001
4 years, 10 months ago (2016-02-01 15:42:34 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652083002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652083002/40001
4 years, 10 months ago (2016-02-01 16:11:38 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/97101)
4 years, 10 months ago (2016-02-01 17:04:43 UTC) #13
Sami
https://codereview.chromium.org/1652083002/diff/40001/components/scheduler/base/task_queue_manager.cc File components/scheduler/base/task_queue_manager.cc (right): https://codereview.chromium.org/1652083002/diff/40001/components/scheduler/base/task_queue_manager.cc#newcode279 components/scheduler/base/task_queue_manager.cc:279: scoped_refptr<internal::TaskQueueImpl> prev_executing_task_queue = Let's go back to the raw ...
4 years, 10 months ago (2016-02-01 17:05:39 UTC) #14
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/1652083002/diff/40001/components/scheduler/base/task_queue_manager.cc File components/scheduler/base/task_queue_manager.cc (right): https://codereview.chromium.org/1652083002/diff/40001/components/scheduler/base/task_queue_manager.cc#newcode279 components/scheduler/base/task_queue_manager.cc:279: scoped_refptr<internal::TaskQueueImpl> prev_executing_task_queue = On 2016/02/01 17:05:39, Sami wrote: ...
4 years, 10 months ago (2016-02-01 17:50:10 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652083002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652083002/60001
4 years, 10 months ago (2016-02-01 17:50:12 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/15587) cast_shell_android on ...
4 years, 10 months ago (2016-02-01 18:07:32 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652083002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652083002/100001
4 years, 10 months ago (2016-02-01 18:13:47 UTC) #22
Sami
https://codereview.chromium.org/1652083002/diff/100001/components/scheduler/renderer/web_frame_scheduler_impl.cc File components/scheduler/renderer/web_frame_scheduler_impl.cc (right): https://codereview.chromium.org/1652083002/diff/100001/components/scheduler/renderer/web_frame_scheduler_impl.cc#newcode94 components/scheduler/renderer/web_frame_scheduler_impl.cc:94: (parent_web_view_scheduler_ && Doesn't the DCHECK make this redundant? https://codereview.chromium.org/1652083002/diff/100001/components/scheduler/renderer/web_view_scheduler_impl.h ...
4 years, 10 months ago (2016-02-01 18:22:36 UTC) #23
alex clarke (OOO till 29th)
https://codereview.chromium.org/1652083002/diff/100001/components/scheduler/renderer/web_frame_scheduler_impl.cc File components/scheduler/renderer/web_frame_scheduler_impl.cc (right): https://codereview.chromium.org/1652083002/diff/100001/components/scheduler/renderer/web_frame_scheduler_impl.cc#newcode94 components/scheduler/renderer/web_frame_scheduler_impl.cc:94: (parent_web_view_scheduler_ && On 2016/02/01 18:22:36, Sami wrote: > Doesn't ...
4 years, 10 months ago (2016-02-01 18:25:53 UTC) #24
Sami
Thanks, lgtm.
4 years, 10 months ago (2016-02-01 18:27:32 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652083002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652083002/120001
4 years, 10 months ago (2016-02-01 18:28:04 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/109702)
4 years, 10 months ago (2016-02-01 19:10:56 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652083002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652083002/140001
4 years, 10 months ago (2016-02-01 20:42:10 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/109791) chromeos_amd64-generic_chromium_compile_only_ng on ...
4 years, 10 months ago (2016-02-01 20:54:36 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652083002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652083002/160001
4 years, 10 months ago (2016-02-01 22:04:25 UTC) #37
alex clarke (OOO till 29th)
+jochen@ for OWNERS review
4 years, 10 months ago (2016-02-01 22:27:39 UTC) #39
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-01 23:12:21 UTC) #42
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652083002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652083002/180001
4 years, 10 months ago (2016-02-02 18:12:04 UTC) #45
alex clarke (OOO till 29th)
+sievers@ could you please do an OWNERS review? Looks like Jochen@ is busy :)
4 years, 10 months ago (2016-02-02 18:12:45 UTC) #46
no sievers
On 2016/02/02 18:12:45, alexclarke1 wrote: > +sievers@ could you please do an OWNERS review? Looks ...
4 years, 10 months ago (2016-02-02 18:36:16 UTC) #47
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-02 19:17:43 UTC) #49
alex clarke (OOO till 29th)
Thanks all!
4 years, 10 months ago (2016-02-02 20:37:20 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652083002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652083002/180001
4 years, 10 months ago (2016-02-02 20:43:40 UTC) #53
commit-bot: I haz the power
Committed patchset #7 (id:180001)
4 years, 10 months ago (2016-02-02 20:55:17 UTC) #55
commit-bot: I haz the power
4 years, 10 months ago (2016-02-02 20:56:18 UTC) #57
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/d4b2c47b8488ca4f943735c663bcb45c42765cdc
Cr-Commit-Position: refs/heads/master@{#373032}

Powered by Google App Engine
This is Rietveld 408576698