| Index: content/renderer/p2p/network_manager_uma.cc
|
| diff --git a/content/renderer/p2p/network_manager_uma.cc b/content/renderer/p2p/network_manager_uma.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..40f91a2106eb5f516601ad727275ea1b90fe33ce
|
| --- /dev/null
|
| +++ b/content/renderer/p2p/network_manager_uma.cc
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2015 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 "content/renderer/p2p/network_manager_uma.h"
|
| +
|
| +#include "base/metrics/histogram_macros.h"
|
| +#include "base/time/time.h"
|
| +
|
| +namespace content {
|
| +
|
| +void ReportTimeToUpdateNetworkList(const base::TimeDelta& ticks) {
|
| + UMA_HISTOGRAM_TIMES("WebRTC.PeerConnection.TimeToNetworkUpdated", ticks);
|
| +}
|
| +
|
| +void ReportIPPermissionStatus(IPPermissionStatus status) {
|
| + UMA_HISTOGRAM_ENUMERATION("WebRTC.PeerConnection.IPPermissionStatus", status,
|
| + PERMISSION_MAX);
|
| +}
|
| +
|
| +} // namespace content
|
|
|