| Index: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
|
| index e70791b5928b5af34913819d18950403187a5af9..53dba7fabe2235545f6f4f0a969ab7e100fa8221 100644
|
| --- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
|
| @@ -43,6 +43,8 @@ void CoreOobeHandler::GetLocalizedStrings(
|
| "title", l10n_util::GetStringUTF16(IDS_SHORT_PRODUCT_NAME));
|
| localized_strings->SetString(
|
| "productName", l10n_util::GetStringUTF16(IDS_SHORT_PRODUCT_NAME));
|
| + localized_strings->SetString(
|
| + "learnMore", l10n_util::GetStringUTF16(IDS_LEARN_MORE));
|
| }
|
|
|
| void CoreOobeHandler::Initialize() {
|
| @@ -100,6 +102,13 @@ void CoreOobeHandler::OnBootTimesLabelTextUpdated(
|
| UpdateLabel("boot-times", boot_times_label_text);
|
| }
|
|
|
| +void CoreOobeHandler::OnEnterpriseInfoUpdated(
|
| + const std::string& message_text) {
|
| + base::StringValue message_text_vaue(UTF8ToUTF16(message_text));
|
| + web_ui()->CallJavascriptFunction("cr.ui.Oobe.setEnterpriseInfo",
|
| + message_text_vaue);
|
| +}
|
| +
|
| void CoreOobeHandler::UpdateLabel(const std::string& id,
|
| const std::string& text) {
|
| base::StringValue id_value(UTF8ToUTF16(id));
|
|
|