Commit b4431cbd authored by Daniel Classon's avatar Daniel Classon Committed by Commit Bot

[AboutPage] Add search tag for "Copy build details" setting

Adds a string for "Copy build details" and loads that setting in the
About page's search concepts.

Bug: 1116553
Change-Id: Ib75e1c809fe146554a57a7a1a6dc9bf42ee6dce8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429311Reviewed-by: default avatarRegan Hsu <hsuregan@chromium.org>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Commit-Queue: Daniel Classon <dclasson@google.com>
Cr-Commit-Position: refs/heads/master@{#810468}
parent a1f5b1df
......@@ -1096,6 +1096,9 @@
</message>
<message name="IDS_OS_SETTINGS_TAG_ABOUT_CHROME_OS_CHANNEL" desc="Text for search result item which, when clicked, navigates the user to detailed build information settings, with a button to change to another channel (stable vs. beta vs. dev).">
Change channel
</message>
<message name="IDS_OS_SETTINGS_TAG_ABOUT_CHROME_OS_COPY_DETAILED_BUILD" desc="Text for search result item which, when clicked, navigates the user to detailed build information settings, with a button to copy the build details (e.g., OS version number) to the clipboard.">
Copy build details
</message>
<message name="IDS_OS_SETTINGS_TAG_ABOUT_OS_UPDATE" desc="Text for search result item which, when clicked, navigates the user to 'About Chrome OS' settings, with a section to check for the latest OS update.">
Check for update
......
......@@ -66,6 +66,12 @@ const std::vector<SearchConcept>& GetAboutSearchConcepts() {
mojom::SearchResultDefaultRank::kMedium,
mojom::SearchResultType::kSetting,
{.setting = mojom::Setting::kChangeChromeChannel}},
{IDS_OS_SETTINGS_TAG_ABOUT_CHROME_OS_COPY_DETAILED_BUILD,
mojom::kDetailedBuildInfoSubpagePath,
mojom::SearchResultIcon::kChrome,
mojom::SearchResultDefaultRank::kMedium,
mojom::SearchResultType::kSetting,
{.setting = mojom::Setting::kCopyDetailedBuildInfo}},
{IDS_OS_SETTINGS_TAG_ABOUT_OS_UPDATE,
mojom::kAboutChromeOsDetailsSubpagePath,
mojom::SearchResultIcon::kChrome,
......
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