Commit 12076f74 authored by xiyuan's avatar xiyuan Committed by Commit bot

easy-unlock: Get rid of extra flag.

BUG=439638

Review URL: https://codereview.chromium.org/797693002

Cr-Commit-Position: refs/heads/master@{#308027}
parent 5a04a588
...@@ -6583,13 +6583,7 @@ Keep your key file in a safe place. You will need it to create new versions of y ...@@ -6583,13 +6583,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
Disable Smart Lock Disable Smart Lock
</message> </message>
<message name="IDS_FLAGS_DISABLE_EASY_UNLOCK_DESCRIPTION" desc="Description of the flag to disable Easy unlock."> <message name="IDS_FLAGS_DISABLE_EASY_UNLOCK_DESCRIPTION" desc="Description of the flag to disable Easy unlock.">
Do not use Smart Lock, which allows you to unlock your Chromebook when in proximity to your phone. Do not use Smart Lock, which allows you to unlock your Chromebook when in proximity to your phone. If you are the owner of the device, this also turns off Smart Lock on sign-in screen.
</message>
<message name="IDS_FLAGS_DISABLE_EASY_SIGNIN_NAME" desc="Name of the flag to disable Easy sign-in.">
Disable Smart Lock on sign-in screen.
</message>
<message name="IDS_FLAGS_DISABLE_EASY_SIGNIN_DESCRIPTION" desc="Description of the flag to disable Easy sign-in.">
Do not use Smart Lock on sign-in screen, which allows you to sign in to your Chromebook when in proximity to your phone.
</message> </message>
</if> </if>
<message name="IDS_FLAGS_DISABLE_NEW_BOOKMARK_APPS_NAME" desc="Name of the flag to disable the new bookmark app system."> <message name="IDS_FLAGS_DISABLE_NEW_BOOKMARK_APPS_NAME" desc="Name of the flag to disable the new bookmark app system.">
......
...@@ -834,13 +834,6 @@ const Experiment kExperiments[] = { ...@@ -834,13 +834,6 @@ const Experiment kExperiments[] = {
kOsCrOS, kOsCrOS,
SINGLE_VALUE_TYPE(proximity_auth::switches::kDisableEasyUnlock) SINGLE_VALUE_TYPE(proximity_auth::switches::kDisableEasyUnlock)
}, },
{
"disable-easy-signin",
IDS_FLAGS_DISABLE_EASY_SIGNIN_NAME,
IDS_FLAGS_DISABLE_EASY_SIGNIN_DESCRIPTION,
kOsCrOSOwnerOnly,
SINGLE_VALUE_TYPE(proximity_auth::switches::kDisableEasySignin)
},
{ {
"enable-easy-unlock-proximity-detection", "enable-easy-unlock-proximity-detection",
IDS_FLAGS_ENABLE_EASY_UNLOCK_PROXIMITY_DETECTION_NAME, IDS_FLAGS_ENABLE_EASY_UNLOCK_PROXIMITY_DETECTION_NAME,
......
...@@ -82,7 +82,7 @@ EasyUnlockService* EasyUnlockService::GetForUser( ...@@ -82,7 +82,7 @@ EasyUnlockService* EasyUnlockService::GetForUser(
// static // static
bool EasyUnlockService::IsSignInEnabled() { bool EasyUnlockService::IsSignInEnabled() {
return !CommandLine::ForCurrentProcess()->HasSwitch( return !CommandLine::ForCurrentProcess()->HasSwitch(
proximity_auth::switches::kDisableEasySignin); proximity_auth::switches::kDisableEasyUnlock);
} }
class EasyUnlockService::BluetoothDetector class EasyUnlockService::BluetoothDetector
......
...@@ -11,9 +11,6 @@ namespace switches { ...@@ -11,9 +11,6 @@ namespace switches {
// by CryptAuth. // by CryptAuth.
const char kCryptAuthHTTPHost[] = "cryptauth-http-host"; const char kCryptAuthHTTPHost[] = "cryptauth-http-host";
// Disable Easy sign-in.
const char kDisableEasySignin[] = "disable-easy-signin";
// Disable Easy unlock. // Disable Easy unlock.
const char kDisableEasyUnlock[] = "disable-easy-unlock"; const char kDisableEasyUnlock[] = "disable-easy-unlock";
......
...@@ -11,7 +11,6 @@ namespace switches { ...@@ -11,7 +11,6 @@ namespace switches {
// All switches in alphabetical order. The switches should be documented // All switches in alphabetical order. The switches should be documented
// alongside the definition of their values in the .cc file. // alongside the definition of their values in the .cc file.
extern const char kCryptAuthHTTPHost[]; extern const char kCryptAuthHTTPHost[];
extern const char kDisableEasySignin[];
extern const char kDisableEasyUnlock[]; extern const char kDisableEasyUnlock[];
extern const char kEnableProximityDetection[]; extern const char kEnableProximityDetection[];
extern const char kForceLoadEasyUnlockAppInTests[]; extern const char kForceLoadEasyUnlockAppInTests[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment