123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- // Copyright 2021 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.
- #ifndef ASH_QUICK_PAIR_UI_ACTIONS_H_
- #define ASH_QUICK_PAIR_UI_ACTIONS_H_
- #include <ostream>
- namespace ash {
- namespace quick_pair {
- enum class DiscoveryAction {
- kPairToDevice = 0,
- kDismissedByUser = 1,
- kDismissed = 2,
- kLearnMore = 3,
- };
- enum class AssociateAccountAction {
- kAssoicateAccount = 0,
- kLearnMore = 1,
- kDismissedByUser = 2,
- kDismissed = 3
- };
- enum class CompanionAppAction {
- kDownloadAndLaunchApp = 0,
- kLaunchApp = 1,
- kDismissedByUser = 2,
- kDismissed = 3
- };
- enum class PairingFailedAction {
- kNavigateToSettings = 0,
- kDismissedByUser = 1,
- kDismissed = 2
- };
- std::ostream& operator<<(std::ostream& stream, DiscoveryAction protocol);
- std::ostream& operator<<(std::ostream& stream, AssociateAccountAction protocol);
- std::ostream& operator<<(std::ostream& stream, CompanionAppAction protocol);
- std::ostream& operator<<(std::ostream& stream, PairingFailedAction protocol);
- } // namespace quick_pair
- } // namespace ash
- #endif // ASH_QUICK_PAIR_UI_ACTIONS_H_
|