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

Issue 2597343002: Add a histogram to track the type of documents printed (HTML vs PDF) (Closed)

Created:
4 years ago by rbpotter
Modified:
3 years, 10 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a histogram to track the type of documents printed (HTML vs PDF) For print preview UI redesign, design team has requested tracking of number of HTML vs PDF prints as the UI elements for each case are different. This adds a histogram to track HTML vs PDF prints. BUG= Committed: https://crrev.com/d34d954730840b4661d9bf8bc972a3d6b4552995 Cr-Commit-Position: refs/heads/master@{#440917}

Patch Set 1 #

Patch Set 2 : Reduce diff #

Total comments: 4

Patch Set 3 : Add documentation #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -0 lines) Patch
M chrome/browser/ui/webui/print_preview/print_preview_handler.cc View 1 2 5 chunks +21 lines, -0 lines 1 comment Download
M tools/metrics/histograms/histograms.xml View 1 2 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
rbpotter
3 years, 11 months ago (2016-12-28 22:39:23 UTC) #9
rbpotter
On 2016/12/28 22:39:23, rbpotter wrote: Note: Not urgent - can wait until after holidays if ...
3 years, 11 months ago (2016-12-28 22:39:59 UTC) #10
Vitaly Buka (NO REVIEWS)
lgtm
3 years, 11 months ago (2016-12-28 22:44:03 UTC) #11
Ilya Sherman
https://codereview.chromium.org/2597343002/diff/20001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://codereview.chromium.org/2597343002/diff/20001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode148 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:148: enum PrintDocumentTypeBuckets { Please document that this enum is ...
3 years, 11 months ago (2016-12-28 23:25:53 UTC) #12
Ilya Sherman
Sorry, meant to say: Metrics LGTM with my comments addressed. Thanks!
3 years, 11 months ago (2016-12-28 23:26:08 UTC) #13
rbpotter
https://codereview.chromium.org/2597343002/diff/20001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://codereview.chromium.org/2597343002/diff/20001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode148 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:148: enum PrintDocumentTypeBuckets { On 2016/12/28 23:25:53, Ilya Sherman (Away ...
3 years, 11 months ago (2016-12-28 23:57:29 UTC) #18
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/2597343002/40001
3 years, 11 months ago (2016-12-29 00:55:04 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
3 years, 11 months ago (2016-12-29 00:59:52 UTC) #26
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/d34d954730840b4661d9bf8bc972a3d6b4552995 Cr-Commit-Position: refs/heads/master@{#440917}
3 years, 11 months ago (2017-01-02 15:51:07 UTC) #28
Lei Zhang
3 years, 10 months ago (2017-02-25 01:04:01 UTC) #30
Message was sent while issue was closed.
https://codereview.chromium.org/2597343002/diff/40001/chrome/browser/ui/webui...
File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right):

https://codereview.chromium.org/2597343002/diff/40001/chrome/browser/ui/webui...
chrome/browser/ui/webui/print_preview/print_preview_handler.cc:155:
HTML_DOCUMENT = 0,
Maybe we should see how often users print images too? i.e. load
http://domain/foo.jpeg and print that directly.

Powered by Google App Engine
This is Rietveld 408576698