forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeatures.cc
34 lines (26 loc) · 1.29 KB
/
features.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// 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.
#include "device/base/features.h"
#include "build/build_config.h"
namespace device {
#if defined(OS_WIN)
const base::Feature kNewUsbBackend{"NewUsbBackend",
base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kNewBLEWinImplementation{"NewBLEWinImplementation",
base::FEATURE_DISABLED_BY_DEFAULT};
#endif // defined(OS_WIN)
#if defined(OS_LINUX) || defined(OS_CHROMEOS)
// Enables or disables the use of newblue Bluetooth daemon on Chrome OS.
const base::Feature kNewblueDaemon{"Newblue",
base::FEATURE_DISABLED_BY_DEFAULT};
#endif // defined(OS_LINUX) || defined(OS_CHROMEOS)
#if defined(OS_MACOSX)
// Controls whether the CTAP2 implementation should use a built-in platform
// authenticator, where available.
const base::Feature kWebAuthTouchId{"WebAuthenticationTouchId",
base::FEATURE_DISABLED_BY_DEFAULT};
#endif // defined(OS_MACOSX)
const base::Feature kNewCtap2Device{"WebAuthenticationCtap2",
base::FEATURE_ENABLED_BY_DEFAULT};
} // namespace device