permission_request_enums.h 762 B

1234567891011121314151617181920212223
  1. // Copyright 2020 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. #ifndef COMPONENTS_PERMISSIONS_PERMISSION_REQUEST_ENUMS_H_
  5. #define COMPONENTS_PERMISSIONS_PERMISSION_REQUEST_ENUMS_H_
  6. namespace permissions {
  7. // Used for UMA to record whether a gesture was associated with the request. For
  8. // simplicity not all request types track whether a gesture is associated with
  9. // it or not, for these types of requests metrics are not recorded.
  10. enum class PermissionRequestGestureType {
  11. UNKNOWN,
  12. GESTURE,
  13. NO_GESTURE,
  14. // NUM must be the last value in the enum.
  15. NUM
  16. };
  17. } // namespace permissions
  18. #endif // COMPONENTS_PERMISSIONS_PERMISSION_REQUEST_ENUMS_H_