diff options
author | gab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-17 15:23:37 +0000 |
---|---|---|
committer | gab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-17 15:23:37 +0000 |
commit | c2f0c94808b89a9ad035a68c6585db24c37101d7 (patch) | |
tree | 4d8092da0a12f852d62b33118735479336adb9ed /chrome/installer/util/browser_distribution.h | |
parent | 12c8936ce1de589c29f76e7e641ff00f636a817e (diff) | |
download | chromium_src-c2f0c94808b89a9ad035a68c6585db24c37101d7.zip chromium_src-c2f0c94808b89a9ad035a68c6585db24c37101d7.tar.gz chromium_src-c2f0c94808b89a9ad035a68c6585db24c37101d7.tar.bz2 |
Abstract suffixing logic away from GetApplicationName
BUG=124013, 125362, 133173
TEST=http://goo.gl/ZZ7gE
Review URL: https://chromiumcodereview.appspot.com/10446111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/browser_distribution.h')
-rw-r--r-- | chrome/installer/util/browser_distribution.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/installer/util/browser_distribution.h b/chrome/installer/util/browser_distribution.h index 8944db9..7d02b63 100644 --- a/chrome/installer/util/browser_distribution.h +++ b/chrome/installer/util/browser_distribution.h @@ -67,9 +67,12 @@ class BrowserDistribution { virtual string16 GetAppGuid(); - // Returns the name by which the program is registered with Default Programs. - // This is not a localized string suitable for presenting to a user. - virtual string16 GetApplicationName(); + // Returns the unsuffixed application name of this program. + // This is the base of the name registered with Default Programs on Windows. + // IMPORTANT: This should only be called by the installer which needs to make + // decisions on the suffixing of the upcoming install, not by external callers + // at run-time. + virtual string16 GetBaseAppName(); // Returns the localized name of the program. virtual string16 GetAppShortCutName(); |