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

Issue 7016039: PrintPreview: Added new histograms for print preview. (Closed)

Created:
9 years, 7 months ago by kmadhusu
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

PrintPreview: Added new histograms for print preview. Added code to track the following stats: - How often users cancel print preview. - How often users use the advanced settings link. - How often users print to PDF. - How often print preview fails. - How many times users adjust (re-render) the preview before printing. - Number of printers. BUG=80917 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86307

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressed review comments #

Patch Set 3 : Fixed NumberOfPriters UMA. #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : Addresed review comments #

Patch Set 7 : '' #

Patch Set 8 : Updated the CL and fixed a style. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -5 lines) Patch
M chrome/browser/ui/webui/print_preview_handler.h View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview_handler.cc View 1 2 3 4 5 6 7 14 chunks +93 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
kmadhusu
9 years, 7 months ago (2011-05-13 21:56:10 UTC) #1
Lei Zhang
+jar jar - can you look at the comment on print_preview_handler.cc:105? http://codereview.chromium.org/7016039/diff/1/chrome/browser/ui/webui/print_preview_handler.cc File chrome/browser/ui/webui/print_preview_handler.cc (right): ...
9 years, 7 months ago (2011-05-13 22:56:20 UTC) #2
kmadhusu
thestig: Addressed review comments. Please review the new patch. Thanks. http://codereview.chromium.org/7016039/diff/1/chrome/browser/ui/webui/print_preview_handler.cc File chrome/browser/ui/webui/print_preview_handler.cc (right): http://codereview.chromium.org/7016039/diff/1/chrome/browser/ui/webui/print_preview_handler.cc#newcode102 ...
9 years, 7 months ago (2011-05-13 23:37:12 UTC) #3
jar (doing other things)
LGTM... but I focused more on the use of histograms than on the logic driving ...
9 years, 7 months ago (2011-05-14 03:19:52 UTC) #4
Lei Zhang
On 2011/05/14 03:19:52, jar wrote: > LGTM... but I focused more on the use of ...
9 years, 7 months ago (2011-05-14 04:01:00 UTC) #5
kmadhusu
thestig: Addressed review comments.
9 years, 7 months ago (2011-05-16 23:58:32 UTC) #6
Lei Zhang
LGTM http://codereview.chromium.org/7016039/diff/9001/chrome/browser/ui/webui/print_preview_handler.cc File chrome/browser/ui/webui/print_preview_handler.cc (right): http://codereview.chromium.org/7016039/diff/9001/chrome/browser/ui/webui/print_preview_handler.cc#newcode289 chrome/browser/ui/webui/print_preview_handler.cc:289: if (!has_logged_printers_count_) nit: you don't need the if ...
9 years, 7 months ago (2011-05-17 00:09:37 UTC) #7
kmadhusu
thestig: Fixed nit. http://codereview.chromium.org/7016039/diff/9001/chrome/browser/ui/webui/print_preview_handler.cc File chrome/browser/ui/webui/print_preview_handler.cc (right): http://codereview.chromium.org/7016039/diff/9001/chrome/browser/ui/webui/print_preview_handler.cc#newcode289 chrome/browser/ui/webui/print_preview_handler.cc:289: if (!has_logged_printers_count_) On 2011/05/17 00:09:38, Lei ...
9 years, 7 months ago (2011-05-17 00:22:09 UTC) #8
kmadhusu
jar: Thanks for your comments. As per your suggestion, I have created a new enum ...
9 years, 7 months ago (2011-05-18 19:15:00 UTC) #9
jar (doing other things)
Again... just focusing on the histogram usage... LGTM. Thanks for combining things into an enumerated ...
9 years, 7 months ago (2011-05-18 19:27:15 UTC) #10
kmadhusu
thestig: ping
9 years, 7 months ago (2011-05-23 16:58:31 UTC) #11
Lei Zhang
9 years, 7 months ago (2011-05-23 18:12:48 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld 408576698