detachable_base_pairing_status.h 999 B

12345678910111213141516171819202122232425262728293031
  1. // Copyright 2018 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 ASH_DETACHABLE_BASE_DETACHABLE_BASE_PAIRING_STATUS_H_
  5. #define ASH_DETACHABLE_BASE_DETACHABLE_BASE_PAIRING_STATUS_H_
  6. #include "ash/ash_export.h"
  7. namespace ash {
  8. // Enum describing current detachable base device pairing status.
  9. enum class ASH_EXPORT DetachableBasePairingStatus {
  10. // A detachable base is not currently paired.
  11. kNone,
  12. // A detachable base is paired, and successfully authenticated.
  13. kAuthenticated,
  14. // A detachable base is paired, but it was not successfully authenticated.
  15. kNotAuthenticated,
  16. // A detachable base is paired, but it was not verified to be a valid base -
  17. // e.g. unlike bases in kNotAuthenticated state, the paired device might not
  18. // support authentication at all.
  19. kInvalidDevice,
  20. };
  21. } // namespace ash
  22. #endif // ASH_DETACHABLE_BASE_DETACHABLE_BASE_PAIRING_STATUS_H_