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

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

Issue 10246007: Fix GetAppShortcutName to return a localized name for Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last nits Created 8 years, 8 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_binaries_distribution.cc
diff --git a/chrome/installer/util/google_chrome_binaries_distribution.cc b/chrome/installer/util/google_chrome_binaries_distribution.cc
index d5b6d24d45475bdfeeae52ba7c23cf00d6b2fb1e..16c177d02d406ae6a3f891d5e2aa2de2df77a4b5 100644
--- a/chrome/installer/util/google_chrome_binaries_distribution.cc
+++ b/chrome/installer/util/google_chrome_binaries_distribution.cc
@@ -1,8 +1,8 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// This file declares a class that contains various method related to branding.
+// This file defines a class that contains various method related to branding.
#include "chrome/installer/util/google_chrome_binaries_distribution.h"
@@ -21,28 +21,28 @@ GoogleChromeBinariesDistribution::GoogleChromeBinariesDistribution()
: ChromiumBinariesDistribution() {
}
-std::wstring GoogleChromeBinariesDistribution::GetAppGuid() {
+string16 GoogleChromeBinariesDistribution::GetAppGuid() {
return kChromeBinariesGuid;
}
-std::wstring GoogleChromeBinariesDistribution::GetAppShortCutName() {
+string16 GoogleChromeBinariesDistribution::GetAppShortCutName() {
return kChromeBinariesName;
}
-std::wstring GoogleChromeBinariesDistribution::GetStateKey() {
- return std::wstring(google_update::kRegPathClientState)
+string16 GoogleChromeBinariesDistribution::GetStateKey() {
+ return string16(google_update::kRegPathClientState)
.append(1, L'\\')
.append(kChromeBinariesGuid);
}
-std::wstring GoogleChromeBinariesDistribution::GetStateMediumKey() {
- return std::wstring(google_update::kRegPathClientStateMedium)
+string16 GoogleChromeBinariesDistribution::GetStateMediumKey() {
+ return string16(google_update::kRegPathClientStateMedium)
.append(1, L'\\')
.append(kChromeBinariesGuid);
}
-std::wstring GoogleChromeBinariesDistribution::GetVersionKey() {
- return std::wstring(google_update::kRegPathClients)
+string16 GoogleChromeBinariesDistribution::GetVersionKey() {
+ return string16(google_update::kRegPathClients)
.append(1, L'\\')
.append(kChromeBinariesGuid);
}
« no previous file with comments | « chrome/installer/util/google_chrome_binaries_distribution.h ('k') | chrome/installer/util/google_chrome_distribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698