| Index: content/renderer/p2p/network_manager_uma.h
|
| diff --git a/content/renderer/p2p/network_manager_uma.h b/content/renderer/p2p/network_manager_uma.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f7c636430765f60b4b192b99362a36504b7c1f2c
|
| --- /dev/null
|
| +++ b/content/renderer/p2p/network_manager_uma.h
|
| @@ -0,0 +1,28 @@
|
| +// 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.
|
| +
|
| +#ifndef CONTENT_RENDERER_P2P_NETWORK_MANAGER_UMA_H_
|
| +#define CONTENT_RENDERER_P2P_NETWORK_MANAGER_UMA_H_
|
| +
|
| +namespace base {
|
| +class TimeDelta;
|
| +} // namespace
|
| +
|
| +namespace content {
|
| +
|
| +// Need to be kept the same order as in histograms.xml
|
| +enum IPPermissionStatus {
|
| + PERMISSION_NOT_REQUESTED, // Multiple routes is not requested.
|
| + PERMISSION_DENIED, // Requested but denied.
|
| + PERMISSION_GRANTED, // Requested and granted.
|
| + PERMISSION_UNKNOWN, // Requested but have never fired SignalNetworksChanged.
|
| + PERMISSION_MAX,
|
| +};
|
| +
|
| +void ReportIPPermissionStatus(IPPermissionStatus status);
|
| +void ReportTimeToUpdateNetworkList(const base::TimeDelta& ticks);
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_RENDERER_P2P_NETWORK_MANAGER_UMA_H_
|
|
|