Chromium Code Reviews| 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..2501c40277a410d7fed5d5ee0e690102ad7120e5 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,9 @@ bool DnsProbeStatusIsFinished(DnsProbeStatus status) { |
| status < DNS_PROBE_MAX; |
| } |
| +void RecordEvent(NetworkErrorPageEvent event) { |
| + UMA_HISTOGRAM_ENUMERATION("Net.ErrorPageCounts", event, |
|
jar (doing other things)
2014/04/21 23:48:19
Please add an entry in tools/metrics/histograms/hi
Randy Smith (Not in Mondays)
2014/04/22 20:40:02
Apologies; as noted elsewhere, I was confused abou
|
| + NETWORK_ERROR_PAGE_EVENT_MAX); |
| +} |
| + |
| } // namespace chrome_common_net |