Commit 72359fec authored by gcasto's avatar gcasto Committed by Commit bot

[Smart Lock] Update strings in chrome://settings

BUG=486739

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

Cr-Commit-Position: refs/heads/master@{#330216}
parent f2eaaf99
......@@ -10558,6 +10558,9 @@ Dead Jim feedback.
<message name="IDS_OPTIONS_PASSWORD_MANAGER_ENABLE" desc="The label of the password manager checkbox">
Offer to save your web passwords.
</message>
<message name="IDS_OPTIONS_PASSWORD_MANAGER_SMART_LOCK_ENABLE" desc="The label of the password manager checkbox if Smart Lock is enabled.">
Offer to save passwords with Google Smart Lock for Passwords.
</message>
<message name="IDS_OPTIONS_PASSWORDS_AUTOLOGIN" desc="The label of the 'autologinEnabled' checkbox">
Offer to sign in to Google sites automatically with this account
</message>
......@@ -58,6 +58,7 @@
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/chrome_select_file_policy.h"
#include "chrome/browser/ui/host_desktop.h"
#include "chrome/browser/ui/passwords/password_bubble_experiment.h"
#include "chrome/browser/ui/webui/favicon_source.h"
#include "chrome/browser/ui/webui/options/options_handlers_helper.h"
#include "chrome/common/chrome_constants.h"
......@@ -307,7 +308,11 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) {
{ "metricsReportingResetRestart", IDS_OPTIONS_ENABLE_LOGGING_RESTART },
{ "networkPredictionEnabledDescription",
IDS_NETWORK_PREDICTION_ENABLED_DESCRIPTION },
{ "passwordManagerEnabled", IDS_OPTIONS_PASSWORD_MANAGER_ENABLE },
{ "passwordManagerEnabled",
password_bubble_experiment::IsSmartLockBrandingEnabled(
Profile::FromWebUI(web_ui())) ?
IDS_OPTIONS_PASSWORD_MANAGER_SMART_LOCK_ENABLE :
IDS_OPTIONS_PASSWORD_MANAGER_ENABLE },
{ "passwordsAndAutofillGroupName",
IDS_OPTIONS_PASSWORDS_AND_FORMS_GROUP_NAME },
{ "privacyClearDataButton", IDS_OPTIONS_PRIVACY_CLEAR_DATA_BUTTON },
......
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