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