OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_RENDERER_P2P_NETWORK_MANAGER_UMA_H_ |
| 6 #define CONTENT_RENDERER_P2P_NETWORK_MANAGER_UMA_H_ |
| 7 |
| 8 namespace base { |
| 9 class TimeDelta; |
| 10 } // namespace |
| 11 |
| 12 namespace content { |
| 13 |
| 14 // Need to be kept the same order as in histograms.xml |
| 15 enum IPPermissionStatus { |
| 16 PERMISSION_NOT_REQUESTED, // Multiple routes is not requested. |
| 17 PERMISSION_DENIED, // Requested but denied. |
| 18 PERMISSION_GRANTED, // Requested and granted. |
| 19 PERMISSION_UNKNOWN, // Requested but have never fired SignalNetworksChanged. |
| 20 PERMISSION_MAX, |
| 21 }; |
| 22 |
| 23 void ReportIPPermissionStatus(IPPermissionStatus status); |
| 24 void ReportTimeToUpdateNetworkList(const base::TimeDelta& ticks); |
| 25 |
| 26 } // namespace content |
| 27 |
| 28 #endif // CONTENT_RENDERER_P2P_NETWORK_MANAGER_UMA_H_ |
OLD | NEW |