--- a/components/embedder_support/user_agent_utils.cc +++ b/components/embedder_support/user_agent_utils.cc @@ -162,10 +162,7 @@ int major_version_number; bool parse_result = base::StringToInt(major_version, &major_version_number); DCHECK(parse_result); - std::optional brand; -#if !BUILDFLAG(CHROMIUM_BRANDING) - brand = version_info::GetProductName(); -#endif + std::optional brand = "Google Chrome"; std::string brand_version = output_version_type == blink::UserAgentBrandVersionType::kFullVersion --- a/base/version_info/version_info_values.h.version +++ b/base/version_info/version_info_values.h.version @@ -4,7 +4,7 @@ #ifndef BASE_VERSION_INFO_VERSION_INFO_VALUES_H_ #define BASE_VERSION_INFO_VERSION_INFO_VALUES_H_ -#define PRODUCT_NAME "@PRODUCT_FULLNAME@" +#define PRODUCT_NAME "Google Chrome" #define PRODUCT_VERSION "@MAJOR@.@MINOR@.@BUILD@.@PATCH@" #define LAST_CHANGE "@LASTCHANGE@" #define IS_OFFICIAL_BUILD @OFFICIAL_BUILD@ --- a/chrome/browser/ui/webui/version/version_ui.cc +++ b/chrome/browser/ui/webui/version/version_ui.cc @@ -226,9 +226,7 @@ // static void VersionUI::AddVersionDetailStrings(content::WebUIDataSource* html_source) { html_source->AddLocalizedString(version_ui::kOfficial, - version_info::IsOfficialBuild() - ? IDS_VERSION_UI_OFFICIAL - : IDS_VERSION_UI_UNOFFICIAL); + IDS_VERSION_UI_OFFICIAL); html_source->AddLocalizedString(version_ui::kVersionProcessorVariation, VersionProcessorVariation()); @@ -322,9 +320,7 @@ IDS_SETTINGS_ABOUT_PAGE_BROWSER_VERSION, base::UTF8ToUTF16(version_info::GetVersionNumber()), base::UTF8ToUTF16(GetVersionInformationalSuffix()), - l10n_util::GetStringUTF16(version_info::IsOfficialBuild() - ? IDS_VERSION_UI_OFFICIAL - : IDS_VERSION_UI_UNOFFICIAL), + l10n_util::GetStringUTF16(IDS_VERSION_UI_OFFICIAL), base::UTF8ToUTF16(GetProductModifier()), l10n_util::GetStringUTF16(VersionUI::VersionProcessorVariation())); } --- a/components/version_ui_strings.grdp +++ b/components/version_ui_strings.grdp @@ -7,7 +7,7 @@ Official Build - Developer Build + Official Build (32-bit) --- a/chrome/app/chromium_strings.grd +++ b/chrome/app/chromium_strings.grd @@ -294,10 +294,10 @@ - Chromium + Google Chrome - Chromium + Chrome @@ -309,15 +309,15 @@ - Chromium is a web browser that runs webpages and applications with lightning speed. It's fast, stable, and easy to use. Browse the web more safely with malware and phishing protection built into Chromium. + Google Chrome is a web browser that runs webpages and applications with lightning speed. It's fast, stable, and easy to use. Browse the web more safely with malware and phishing protection built into Google Chrome. - Welcome to Chromium; new browser window opened + Welcome to Chrome; new browser window opened - Welcome to Chromium + Welcome to Google Chrome @@ -360,7 +360,7 @@ - Task Manager - Chromium + Task Manager - Google Chrome @@ -431,7 +431,7 @@ - $1Google - Chromium + $1Google - Google Chrome @@ -470,7 +470,7 @@ - $1Google - Chromium + $1Google - Google Chrome @@ -494,10 +494,10 @@ - The Chromium Authors + Google LLC - Copyright {0,date,y}2016 The Chromium Authors. All rights reserved. + Copyright {0,date,y}2016 Google LLC. All rights reserved.