protocol.h 670 B

123456789101112131415161718192021222324252627
  1. // Copyright 2021 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_QUICK_PAIR_COMMON_PROTOCOL_H_
  5. #define ASH_QUICK_PAIR_COMMON_PROTOCOL_H_
  6. #include <ostream>
  7. #include "base/component_export.h"
  8. namespace ash {
  9. namespace quick_pair {
  10. enum class Protocol {
  11. // Google Fast Pair
  12. kFastPairInitial = 0,
  13. kFastPairRetroactive = 1,
  14. kFastPairSubsequent = 2,
  15. };
  16. COMPONENT_EXPORT(QUICK_PAIR_COMMON)
  17. std::ostream& operator<<(std::ostream& stream, Protocol protocol);
  18. } // namespace quick_pair
  19. } // namespace ash
  20. #endif // ASH_QUICK_PAIR_COMMON_PROTOCOL_H_