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

Unified Diff: chrome/installer/util/google_chrome_sxs_distribution.h

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_sxs_distribution.h
diff --git a/chrome/installer/util/google_chrome_sxs_distribution.h b/chrome/installer/util/google_chrome_sxs_distribution.h
index 77ff417392ea30504c3cde48872d423dde97a23a..93867ff1a31632f2f7a139103a9104af6f322e83 100644
--- a/chrome/installer/util/google_chrome_sxs_distribution.h
+++ b/chrome/installer/util/google_chrome_sxs_distribution.h
@@ -6,6 +6,7 @@
#define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_
#pragma once
+#include "base/string16.h"
#include "chrome/installer/util/browser_distribution.h"
#include "chrome/installer/util/google_chrome_distribution.h"
#include "chrome/installer/util/l10n_string_util.h"
@@ -19,20 +20,20 @@
// system level install and setting as default browser.
class GoogleChromeSxSDistribution : public GoogleChromeDistribution {
public:
- virtual std::wstring GetApplicationName() OVERRIDE;
- virtual std::wstring GetAppShortCutName() OVERRIDE;
- virtual std::wstring GetBrowserAppId() OVERRIDE;
- virtual std::wstring GetInstallSubDir() OVERRIDE;
- virtual std::wstring GetUninstallRegPath() OVERRIDE;
+ virtual string16 GetApplicationName() OVERRIDE;
+ virtual string16 GetAppShortCutName() OVERRIDE;
+ virtual string16 GetBrowserAppId() OVERRIDE;
+ virtual string16 GetInstallSubDir() OVERRIDE;
+ virtual string16 GetUninstallRegPath() OVERRIDE;
virtual bool CanSetAsDefault() OVERRIDE;
virtual int GetIconIndex() OVERRIDE;
- virtual bool GetChromeChannel(std::wstring* channel) OVERRIDE;
+ virtual bool GetChromeChannel(string16* channel) OVERRIDE;
virtual bool GetDelegateExecuteHandlerData(string16* handler_class_uuid,
string16* type_lib_uuid,
string16* type_lib_version,
string16* interface_uuid) OVERRIDE;
// returns the channel name for GoogleChromeSxSDistribution
- static std::wstring ChannelName();
+ static string16 ChannelName();
private:
friend class BrowserDistribution;
« no previous file with comments | « chrome/installer/util/google_chrome_distribution_dummy.cc ('k') | chrome/installer/util/google_chrome_sxs_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698