blob: e50b27acbbdd89898eaa71fb7efe0b8f97c409c0 [file] [log] [blame]
// Copyright 2017 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 DEVICE_BASE_FEATURES_H_
#define DEVICE_BASE_FEATURES_H_
#include "base/feature_list.h"
#include "build/build_config.h"
#include "device/base/device_base_export.h"
#include "device/vr/buildflags/buildflags.h"
namespace device {
#if defined(OS_WIN) || defined(OS_MAC)
DEVICE_BASE_EXPORT extern const base::Feature kNewUsbBackend;
#endif // defined(OS_WIN) || defined(OS_MAC)
#if defined(OS_WIN)
DEVICE_BASE_EXPORT extern const base::Feature kNewBLEWinImplementation;
DEVICE_BASE_EXPORT extern const base::Feature kNewBLEGattSessionHandling;
#endif // defined(OS_WIN)
#if BUILDFLAG(ENABLE_VR)
DEVICE_BASE_EXPORT extern const base::Feature kWebXrOrientationSensorDevice;
#endif // BUILDFLAG(ENABLE_VR)
// New features should be added to the device::features namespace.
namespace features {
#if BUILDFLAG(ENABLE_OPENXR)
DEVICE_BASE_EXPORT extern const base::Feature kOpenXR;
#endif // ENABLE_OPENXR
} // namespace features
} // namespace device
#endif // DEVICE_BASE_FEATURES_H_