chromium/ash/quick_pair/common/protocol.h

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_QUICK_PAIR_COMMON_PROTOCOL_H_
#define ASH_QUICK_PAIR_COMMON_PROTOCOL_H_

#include <ostream>
#include "base/component_export.h"

namespace ash {
namespace quick_pair {

enum class Protocol {
  // Google Fast Pair
  kFastPairInitial = 0,
  kFastPairRetroactive = 1,
  kFastPairSubsequent = 2,
};

COMPONENT_EXPORT(QUICK_PAIR_COMMON)
std::ostream& operator<<(std::ostream& stream, Protocol protocol);

}  // namespace quick_pair
}  // namespace ash

#endif  // ASH_QUICK_PAIR_COMMON_PROTOCOL_H_