Implement finding BLE connections in chrome://proximity-auth.
[chromium-blink-merge.git] / components / proximity_auth / switches.cc
blob9d1577fe3a81e7c6b1edb6305a36395cf73dd04b
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/proximity_auth/switches.h"
7 namespace proximity_auth {
8 namespace switches {
10 // Overrides the default URL for Google APIs (https://www.googleapis.com) used
11 // by CryptAuth.
12 const char kCryptAuthHTTPHost[] = "cryptauth-http-host";
14 // Disable Easy unlock.
15 const char kDisableEasyUnlock[] = "disable-easy-unlock";
17 // Enables discovery of the phone over Bluetooth Low Energy.
18 const char kEnableBluetoothLowEnergyDiscovery[] =
19 "enable-proximity-auth-bluetooth-low-energy-discovery";
21 // Enables close proximity detection. This allows the user to set a setting to
22 // require very close proximity between the remote device and the local device
23 // in order to unlock the local device, which trades off convenience for
24 // security.
25 const char kEnableProximityDetection[] =
26 "enable-proximity-auth-proximity-detection";
28 // Force easy unlock app loading in test.
29 // TODO(xiyuan): Remove this when app could be bundled with Chrome.
30 const char kForceLoadEasyUnlockAppInTests[] =
31 "force-load-easy-unlock-app-in-tests";
33 } // namespace switches
34 } // namespace proximity_auth