Chromium Code Reviews| Index: chrome/browser/ui/webui/print_preview/print_preview_handler.cc |
| diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc |
| index 51b36bb40a3645c53958b8a021de67726cb6fb42..e465e03e7ff419aca129f7ffbebdab33252d3f00 100644 |
| --- a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc |
| +++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc |
| @@ -107,6 +107,7 @@ enum UserActionBuckets { |
| INITIATOR_CLOSED, |
| PRINT_WITH_CLOUD_PRINT, |
| PRINT_WITH_PRIVET, |
| + PRINT_WITH_EXTENSION, |
| USERACTION_BUCKET_BOUNDARY |
| }; |
| @@ -884,7 +885,9 @@ void PrintPreviewHandler::HandlePrint(const base::ListValue* args) { |
| #endif |
| if (print_with_extension) { |
| - // TODO(tbarzic): Record UMA stats. |
| + UMA_HISTOGRAM_COUNTS("PrintPreview.PageCount.PrintWithExtension", |
| + page_count); |
|
Ilya Sherman
2015/02/21 00:26:39
I bet that UMA_HISTOGRAM_COUNTS_100 or _10000 woul
|
| + ReportUserActionHistogram(PRINT_WITH_EXTENSION); |
| std::string destination_id; |
| std::string print_ticket; |