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

Issue 2412753002: Add UMA for documents calling window.print(). (Closed)

Created:
4 years, 2 months ago by nasko
Modified:
4 years, 2 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, site-isolation-reviews_chormium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA for documents calling window.print(). BUG=631513 Committed: https://crrev.com/e440d8cb3d9ff035fa588fd0b13b73f3deaa9568 Cr-Commit-Position: refs/heads/master@{#424898}

Patch Set 1 #

Patch Set 2 : Add UMA for out-of-process iframes printing. #

Total comments: 8

Patch Set 3 : Move histograms to PrintPreview category. #

Patch Set 4 : Improve description. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M content/renderer/render_view_impl.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 3 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (14 generated)
nasko
Hey Lei and Ilya, Can you review this CL for me? It is a simple ...
4 years, 2 months ago (2016-10-11 22:35:14 UTC) #2
Lei Zhang
lgtm
4 years, 2 months ago (2016-10-11 22:40:08 UTC) #5
nasko
I've added an additional histogram to count the cases that we know are broken with ...
4 years, 2 months ago (2016-10-11 23:40:17 UTC) #8
Lei Zhang
https://codereview.chromium.org/2412753002/diff/20001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/2412753002/diff/20001/content/renderer/render_view_impl.cc#newcode1641 content/renderer/render_view_impl.cc:1641: frame->top()->isWebRemoteFrame()); frame->top() won't ever be a nullptr, right?
4 years, 2 months ago (2016-10-11 23:42:59 UTC) #9
nasko
https://codereview.chromium.org/2412753002/diff/20001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/2412753002/diff/20001/content/renderer/render_view_impl.cc#newcode1641 content/renderer/render_view_impl.cc:1641: frame->top()->isWebRemoteFrame()); On 2016/10/11 23:42:59, Lei Zhang wrote: > frame->top() ...
4 years, 2 months ago (2016-10-11 23:44:17 UTC) #12
Lei Zhang
https://codereview.chromium.org/2412753002/diff/20001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/2412753002/diff/20001/content/renderer/render_view_impl.cc#newcode1641 content/renderer/render_view_impl.cc:1641: frame->top()->isWebRemoteFrame()); On 2016/10/11 23:44:17, nasko (slow) wrote: > On ...
4 years, 2 months ago (2016-10-11 23:51:14 UTC) #13
nasko
Switching to asvitkine@ for OWNERS on historgrams.xml.
4 years, 2 months ago (2016-10-12 20:57:06 UTC) #17
Alexei Svitkine (slow)
lgtm % comment https://codereview.chromium.org/2412753002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2412753002/diff/20001/tools/metrics/histograms/histograms.xml#newcode47258 tools/metrics/histograms/histograms.xml:47258: +<histogram name="Printing.OutOfProcessSubframe" enum="Boolean"> Nit: Suggest adding ...
4 years, 2 months ago (2016-10-12 20:59:47 UTC) #18
Ilya Sherman
As mentioned on the earlier chat ping, not lgtm. (Not sure why you switched reviewers ...
4 years, 2 months ago (2016-10-12 21:45:54 UTC) #20
nasko
Updated description and moved to PrintPreview category. https://codereview.chromium.org/2412753002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2412753002/diff/20001/tools/metrics/histograms/histograms.xml#newcode47258 tools/metrics/histograms/histograms.xml:47258: +<histogram name="Printing.OutOfProcessSubframe" ...
4 years, 2 months ago (2016-10-12 21:58:04 UTC) #21
Ilya Sherman
LGTM, thanks.
4 years, 2 months ago (2016-10-12 22:00:46 UTC) #22
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/2412753002/60001
4 years, 2 months ago (2016-10-12 22:10:19 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-12 23:08:32 UTC) #26
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 23:10:01 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e440d8cb3d9ff035fa588fd0b13b73f3deaa9568
Cr-Commit-Position: refs/heads/master@{#424898}

Powered by Google App Engine
This is Rietveld 408576698