| Index: chrome/common/net/net_error_info.cc
|
| diff --git a/chrome/common/net/net_error_info.cc b/chrome/common/net/net_error_info.cc
|
| index 91a1ca94bc973d5c38d0d2d2ac25cce35ce3ff6f..0ce363b11c1aa56659fe1c2676186bce65851021 100644
|
| --- a/chrome/common/net/net_error_info.cc
|
| +++ b/chrome/common/net/net_error_info.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/logging.h"
|
| +#include "base/metrics/histogram.h"
|
| #include "chrome/common/net/net_error_info.h"
|
|
|
| namespace chrome_common_net {
|
| @@ -36,4 +37,8 @@ bool DnsProbeStatusIsFinished(DnsProbeStatus status) {
|
| status < DNS_PROBE_MAX;
|
| }
|
|
|
| +void RecordEvent(NetworkErrorPageEvent event) {
|
| + UMA_HISTOGRAM_ENUMERATION("Net.ErrorPageCounts", event, MAX_EVENT);
|
| +}
|
| +
|
| } // namespace chrome_common_net
|
|
|