| Index: chrome/common/pdf_uma.cc
|
| diff --git a/chrome/common/pdf_uma.cc b/chrome/common/pdf_uma.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8b2fcddad434290e0b42317ebd9622e0b5eb9596
|
| --- /dev/null
|
| +++ b/chrome/common/pdf_uma.cc
|
| @@ -0,0 +1,12 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/common/pdf_uma.h"
|
| +
|
| +#include "base/metrics/histogram_macros.h"
|
| +
|
| +void ReportPDFLoadStatus(PDFLoadStatus status) {
|
| + UMA_HISTOGRAM_ENUMERATION("PDF.LoadStatus", status,
|
| + PDFLoadStatus::PDF_LOAD_STATUS_COUNT);
|
| +}
|
|
|