chromium/device/bluetooth/bluetooth_common.h

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

#ifndef DEVICE_BLUETOOTH_BLUETOOTH_COMMON_H_
#define DEVICE_BLUETOOTH_BLUETOOTH_COMMON_H_

#include "device/bluetooth/bluetooth_export.h"

// This file is for enums and small types common to several
// parts of bluetooth.

namespace device {

// Devices and adapters can support a number of transports,
// and bluetooth hosts can scan for devices based on the
// transports they support.
enum BluetoothTransport : uint8_t {};

// Possible values that may be returned by BluetoothDevice::GetDeviceType(),
// representing different types of bluetooth device that we support or are aware
// of decoded from the bluetooth class information. These values are persisted
// to logs. Entries should not be renumbered and numeric values should never be
// reused.
enum class BluetoothDeviceType {};

}  // namespace device

#endif  // DEVICE_BLUETOOTH_BLUETOOTH_COMMON_H_