Commit 42f47340 authored by Bailey Berro's avatar Bailey Berro Committed by Commit Bot

Add correct learn more URL for SMB shares settings.

- Adds the correct link for the network file shares help page. The content
on the target page is still being updated.

Bug: chromium:889830
Change-Id: I583ed05c144d5938c4c9acdadb4515e1828bc8f3
Reviewed-on: https://chromium-review.googlesource.com/1249824Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Commit-Queue: Bailey Berro <baileyberro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595148}
parent 28d638b0
......@@ -18,7 +18,7 @@
<div class="settings-box first">
<div class="start">
<span>$i18n{smbSharesLearnMoreLabel}</span>
<a href="http://support.google.com" target="_blank">
<a href="$i18n{smbSharesLearnMoreURL}" target="_blank">
$i18n{learnMore}
</a>
<div class="secondary" hidden="false">
......
......@@ -852,6 +852,8 @@ void AddDownloadsStrings(content::WebUIDataSource* html_source) {
#if defined(OS_CHROMEOS)
html_source->AddBoolean("enableNativeSmbSetting",
base::FeatureList::IsEnabled(features::kNativeSmb));
html_source->AddString("smbSharesLearnMoreURL",
GetHelpUrlWithBoard(chrome::kSmbSharesLearnMoreURL));
#endif
}
......
......@@ -316,6 +316,9 @@ const char kTPMFirmwareUpdateLearnMoreURL[] =
const char kTimeZoneSettingsLearnMoreURL[] =
"https://support.google.com/chromebook?p=chromebook_timezone&hl=%s";
const char kSmbSharesLearnMoreURL[] =
"https://support.google.com/chromebook?p=network_file_shares";
#endif // defined(OS_CHROMEOS)
#if defined(OS_MACOSX)
......
......@@ -273,6 +273,9 @@ extern const char kTPMFirmwareUpdateLearnMoreURL[];
// The URL for the "Learn more" page for the time zone settings page.
extern const char kTimeZoneSettingsLearnMoreURL[];
// The URL for the "Learn more" page for the network file shares settings page.
extern const char kSmbSharesLearnMoreURL[];
#endif // defined(OS_CHROMEOS)
#if defined(OS_MACOSX)
......
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