Commit 8860a660 authored by skau's avatar skau Committed by Commit Bot

Record the correct value for print job results.

During refactoring, the wrong value was recorded.  Record the correct value.

BUG=725740

Review-Url: https://codereview.chromium.org/2925113004
Cr-Commit-Position: refs/heads/master@{#478705}
parent dcdaa5f6
...@@ -73,8 +73,7 @@ JobResultForHistogram ResultForHistogram(State state) { ...@@ -73,8 +73,7 @@ JobResultForHistogram ResultForHistogram(State state) {
} }
void RecordJobResult(JobResultForHistogram result) { void RecordJobResult(JobResultForHistogram result) {
UMA_HISTOGRAM_ENUMERATION("Printing.CUPS.JobResult", TIMEOUT_CANCEL, UMA_HISTOGRAM_ENUMERATION("Printing.CUPS.JobResult", result, RESULT_MAX);
RESULT_MAX);
} }
// Returns the equivalient CupsPrintJob#State from a CupsJob#JobState. // Returns the equivalient CupsPrintJob#State from a CupsJob#JobState.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment