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

Issue 1315303002: Dispatch DRP IPC call from renderer main thread (Closed)

Created:
5 years, 3 months ago by tbansal1
Modified:
5 years, 3 months ago
Reviewers:
bengr, jam, Charlie Reis, nasko
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Dispatch DRP IPC call from renderer main thread This ensures that the DRP performance timing histograms are recorded even when user navigates to a different page. Please see the bug for more details. BUG=525329 Committed: https://crrev.com/0c2036dbfa8177857e0df81de7a4bb34023300b5 Cr-Commit-Position: refs/heads/master@{#347972}

Patch Set 1 #

Patch Set 2 : Override CanSendWhileSwappedOut #

Total comments: 4

Patch Set 3 : Addressed comments #

Total comments: 2

Patch Set 4 : Removed DHCECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M chrome/common/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_content_client.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/renderer/page_load_histograms.cc View 1 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 44 (10 generated)
tbansal1
PTAL. Thanks.
5 years, 3 months ago (2015-08-27 15:56:02 UTC) #2
bengr
lgtm
5 years, 3 months ago (2015-08-27 21:17:44 UTC) #3
tbansal1
ppi: PTAL. thanks.
5 years, 3 months ago (2015-08-27 21:18:49 UTC) #5
tbansal1
sky: PTAL. thanks.
5 years, 3 months ago (2015-08-27 21:19:51 UTC) #7
sky
I'm not a good reviewer for this. Maybe John.
5 years, 3 months ago (2015-08-27 23:19:54 UTC) #9
jam
is this not being sent because the Send() reaches RenderWidget::Send and is_swapped_out_ is true?
5 years, 3 months ago (2015-08-28 20:22:08 UTC) #10
tbansal1
On 2015/08/28 20:22:08, jam wrote: > is this not being sent because the Send() reaches ...
5 years, 3 months ago (2015-08-28 21:30:52 UTC) #11
tbansal1
ping. I would also like to merge this in M-46.
5 years, 3 months ago (2015-08-31 20:06:55 UTC) #12
jam
On 2015/08/28 21:30:52, tbansal1 wrote: > On 2015/08/28 20:22:08, jam wrote: > > is this ...
5 years, 3 months ago (2015-08-31 23:13:08 UTC) #14
Charlie Reis
On 2015/08/31 23:13:08, jam wrote: > On 2015/08/28 21:30:52, tbansal1 wrote: > > On 2015/08/28 ...
5 years, 3 months ago (2015-08-31 23:21:34 UTC) #16
tbansal1
On 2015/08/31 23:13:08, jam wrote: > On 2015/08/28 21:30:52, tbansal1 wrote: > > On 2015/08/28 ...
5 years, 3 months ago (2015-08-31 23:22:16 UTC) #17
nasko
On 2015/08/31 23:21:34, Charlie Reis wrote: > On 2015/08/31 23:13:08, jam wrote: > > On ...
5 years, 3 months ago (2015-08-31 23:36:05 UTC) #18
tbansal1
On 2015/08/31 23:36:05, nasko wrote: > On 2015/08/31 23:21:34, Charlie Reis wrote: > > On ...
5 years, 3 months ago (2015-08-31 23:53:24 UTC) #19
nasko
On 2015/08/31 23:53:24, tbansal1 wrote: > On 2015/08/31 23:36:05, nasko wrote: > > On 2015/08/31 ...
5 years, 3 months ago (2015-09-01 00:04:32 UTC) #20
tbansal1
On 2015/09/01 00:04:32, nasko wrote: > On 2015/08/31 23:53:24, tbansal1 wrote: > > On 2015/08/31 ...
5 years, 3 months ago (2015-09-01 00:10:25 UTC) #21
nasko
On 2015/09/01 00:10:25, tbansal1 wrote: > On 2015/09/01 00:04:32, nasko wrote: > > On 2015/08/31 ...
5 years, 3 months ago (2015-09-01 00:23:23 UTC) #22
tbansal1
On 2015/09/01 00:23:23, nasko wrote: > On 2015/09/01 00:10:25, tbansal1 wrote: > > On 2015/09/01 ...
5 years, 3 months ago (2015-09-01 18:43:58 UTC) #23
Charlie Reis
On 2015/09/01 18:43:58, tbansal1 wrote: > On 2015/09/01 00:23:23, nasko wrote: > > Let's go ...
5 years, 3 months ago (2015-09-01 21:46:41 UTC) #24
tbansal1
PTAL. Now, I am overriding CanSendWhileSwappedOut() method. Thanks!
5 years, 3 months ago (2015-09-02 01:43:15 UTC) #25
Charlie Reis
This approach seems fine with a few nits. https://codereview.chromium.org/1315303002/diff/20001/chrome/common/chrome_content_client.cc File chrome/common/chrome_content_client.cc (right): https://codereview.chromium.org/1315303002/diff/20001/chrome/common/chrome_content_client.cc#newcode616 chrome/common/chrome_content_client.cc:616: return ...
5 years, 3 months ago (2015-09-02 17:16:30 UTC) #26
tbansal1
Charlie: PTAL. thanks. https://codereview.chromium.org/1315303002/diff/20001/chrome/common/chrome_content_client.cc File chrome/common/chrome_content_client.cc (right): https://codereview.chromium.org/1315303002/diff/20001/chrome/common/chrome_content_client.cc#newcode616 chrome/common/chrome_content_client.cc:616: return content::ContentClient::CanSendWhileSwappedOut(message) || On 2015/09/02 17:16:30, ...
5 years, 3 months ago (2015-09-02 17:30:26 UTC) #27
Charlie Reis
LGTM if you remove the DCHECK. https://codereview.chromium.org/1315303002/diff/40001/chrome/common/chrome_content_client.cc File chrome/common/chrome_content_client.cc (right): https://codereview.chromium.org/1315303002/diff/40001/chrome/common/chrome_content_client.cc#newcode544 chrome/common/chrome_content_client.cc:544: DCHECK(!content::ContentClient::CanSendWhileSwappedOut(message)); You don't ...
5 years, 3 months ago (2015-09-02 17:35:05 UTC) #28
tbansal1
nasko@: PTAL. Thanks. https://codereview.chromium.org/1315303002/diff/40001/chrome/common/chrome_content_client.cc File chrome/common/chrome_content_client.cc (right): https://codereview.chromium.org/1315303002/diff/40001/chrome/common/chrome_content_client.cc#newcode544 chrome/common/chrome_content_client.cc:544: DCHECK(!content::ContentClient::CanSendWhileSwappedOut(message)); On 2015/09/02 17:35:05, Charlie Reis ...
5 years, 3 months ago (2015-09-02 17:38:48 UTC) #29
tbansal1
jam@: PTAL * for OWNERS approval.
5 years, 3 months ago (2015-09-02 17:45:26 UTC) #30
nasko
You already have Charlie's l-g-t-m, on need for one from me. You need OWNERS though.
5 years, 3 months ago (2015-09-02 22:02:49 UTC) #31
tbansal1
On 2015/09/02 22:02:49, nasko (slow to review) wrote: > You already have Charlie's l-g-t-m, on ...
5 years, 3 months ago (2015-09-02 22:35:14 UTC) #32
tbansal1
jam: Friendly ping :). thanks.
5 years, 3 months ago (2015-09-08 18:00:40 UTC) #33
jam
lgtm
5 years, 3 months ago (2015-09-09 17:44:30 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315303002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315303002/60001
5 years, 3 months ago (2015-09-09 17:50:13 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/111283)
5 years, 3 months ago (2015-09-09 18:43:00 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315303002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315303002/60001
5 years, 3 months ago (2015-09-09 18:44:05 UTC) #41
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 3 months ago (2015-09-09 19:13:05 UTC) #42
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/0c2036dbfa8177857e0df81de7a4bb34023300b5 Cr-Commit-Position: refs/heads/master@{#347972}
5 years, 3 months ago (2015-09-09 19:14:01 UTC) #43
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:01:50 UTC) #44
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0c2036dbfa8177857e0df81de7a4bb34023300b5
Cr-Commit-Position: refs/heads/master@{#347972}

Powered by Google App Engine
This is Rietveld 408576698