| 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 | 10 // Overrides the default URL for Google APIs (https://www.googleapis.com) used |
| 11 // by CryptAuth. | 11 // by CryptAuth. |
| 12 const char kCryptAuthHTTPHost[] = "cryptauth-http-host"; | 12 const char kCryptAuthHTTPHost[] = "cryptauth-http-host"; |
| 13 | 13 |
| 14 // Disable Easy sign-in. | 14 // Disable Easy sign-in. |
| 15 const char kDisableEasySignin[] = "disable-easy-signin"; | 15 const char kDisableEasySignin[] = "disable-easy-signin"; |
| 16 | 16 |
| 17 // Disable Easy unlock. | 17 // Disable Easy unlock. |
| 18 const char kDisableEasyUnlock[] = "disable-easy-unlock"; | 18 const char kDisableEasyUnlock[] = "disable-easy-unlock"; |
| 19 | 19 |
| 20 // TODO(xiyuan): Remove obsolete enable flags since feature is on by default. |
| 20 // Enable Easy sign-in. | 21 // Enable Easy sign-in. |
| 21 const char kEnableEasySignin[] = "enable-easy-signin"; | 22 const char kEnableEasySignin[] = "enable-easy-signin"; |
| 22 | 23 |
| 23 // Enable Easy unlock. | 24 // Enable Easy unlock. |
| 24 const char kEnableEasyUnlock[] = "enable-easy-unlock"; | 25 const char kEnableEasyUnlock[] = "enable-easy-unlock"; |
| 25 | 26 |
| 26 // Enables close proximity detection. This allows the user to set a setting to | 27 // Enables close proximity detection. This allows the user to set a setting to |
| 27 // require very close proximity between the remote device and the local device | 28 // require very close proximity between the remote device and the local device |
| 28 // in order to unlock the local device, which trades off convenience for | 29 // in order to unlock the local device, which trades off convenience for |
| 29 // security. | 30 // security. |
| 30 const char kEnableProximityDetection[] = | 31 const char kEnableProximityDetection[] = |
| 31 "enable-proximity-auth-proximity-detection"; | 32 "enable-proximity-auth-proximity-detection"; |
| 32 | 33 |
| 33 } // namespace switches | 34 } // namespace switches |
| 34 } // namespace proximity_auth | 35 } // namespace proximity_auth |
| OLD | NEW |