Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1835)

Unified Diff: chrome/installer/util/google_chrome_distribution.cc

Issue 2791593002: Allow installer::GetLocalizedString to return mode-specific strings. (Closed)
Patch Set: manzagop review part the deux Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/util/google_chrome_distribution.cc
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index f1249aa9957d38d61c80dbfc0fcb4e76bbb656d1..6afb11bf77ae5b57149be8ab461f08cf50a463f1 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -37,8 +37,6 @@
namespace {
-const wchar_t kChromeGuid[] = L"{8A69D345-D564-463c-AFF1-A69D9E530F96}";
-
// Substitute the locale parameter in uninstall URL with whatever
// Google Update tells us is the locale. In case we fail to find
// the locale, we use US English.
@@ -89,12 +87,8 @@ void NavigateToUrlWithIExplore(const base::string16& url) {
} // namespace
GoogleChromeDistribution::GoogleChromeDistribution()
- : BrowserDistribution(
- base::MakeUnique<UpdatingAppRegistrationData>(kChromeGuid)) {}
-
-GoogleChromeDistribution::GoogleChromeDistribution(
- std::unique_ptr<AppRegistrationData> app_reg_data)
- : BrowserDistribution(std::move(app_reg_data)) {}
+ : BrowserDistribution(base::MakeUnique<UpdatingAppRegistrationData>(
+ install_static::GetAppGuid())) {}
void GoogleChromeDistribution::DoPostUninstallOperations(
const base::Version& version,
« no previous file with comments | « chrome/installer/util/google_chrome_distribution.h ('k') | chrome/installer/util/google_chrome_sxs_distribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698