blob: 370acf99b1c043ba1962177869f94039969e02f0 [file] [log] [blame]
// 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.
namespace base {
class TimeDelta;
} // namespace
namespace content {
// Need to be kept the same order as in histograms.xml
enum IPPermissionStatus {
PERMISSION_UNKNOWN, // Requested but have never fired SignalNetworksChanged.
PERMISSION_NOT_REQUESTED, // Multiple routes is not requested.
PERMISSION_DENIED, // Requested but denied.
PERMISSION_GRANTED_WITH_CHECKING, // Requested and granted after checking
// mic/camera permission.
PERMISSION_GRANTED_WITHOUT_CHECKING, // Requested and granted without
// checking mic/camera permission.
void ReportIPPermissionStatus(IPPermissionStatus status);
void ReportTimeToUpdateNetworkList(const base::TimeDelta& ticks);
} // namespace content