| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // This file declares a class that contains various method related to branding. | 5 // This file declares a class that contains various method related to branding. |
| 6 | 6 |
| 7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| 8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 virtual string16 GetAppGuid(); | 47 virtual string16 GetAppGuid(); |
| 48 | 48 |
| 49 // Returns the unsuffixed application name of this program. | 49 // Returns the unsuffixed application name of this program. |
| 50 // This is the base of the name registered with Default Programs on Windows. | 50 // This is the base of the name registered with Default Programs on Windows. |
| 51 // IMPORTANT: This should only be called by the installer which needs to make | 51 // IMPORTANT: This should only be called by the installer which needs to make |
| 52 // decisions on the suffixing of the upcoming install, not by external callers | 52 // decisions on the suffixing of the upcoming install, not by external callers |
| 53 // at run-time. | 53 // at run-time. |
| 54 virtual string16 GetBaseAppName(); | 54 virtual string16 GetBaseAppName(); |
| 55 | 55 |
| 56 // Returns the localized name of the (Start Menu) folder for the program. |
| 57 virtual string16 GetAppShortCutFolderName(); |
| 58 |
| 56 // Returns the localized name of the program. | 59 // Returns the localized name of the program. |
| 57 virtual string16 GetAppShortCutName(); | 60 virtual string16 GetAppShortCutName(); |
| 58 | 61 |
| 59 virtual string16 GetAlternateApplicationName(); | 62 virtual string16 GetAlternateApplicationName(); |
| 60 | 63 |
| 61 // Returns the unsuffixed appid of this program. | 64 // Returns the unsuffixed appid of this program. |
| 62 // The AppUserModelId is a property of Windows programs. | 65 // The AppUserModelId is a property of Windows programs. |
| 63 // IMPORTANT: This should only be called by ShellUtil::GetAppId as the appid | 66 // IMPORTANT: This should only be called by ShellUtil::GetAppId as the appid |
| 64 // should be suffixed in all scenarios. | 67 // should be suffixed in all scenarios. |
| 65 virtual string16 GetBaseAppId(); | 68 virtual string16 GetBaseAppId(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 135 |
| 133 const Type type_; | 136 const Type type_; |
| 134 | 137 |
| 135 private: | 138 private: |
| 136 BrowserDistribution(); | 139 BrowserDistribution(); |
| 137 | 140 |
| 138 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 141 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
| 139 }; | 142 }; |
| 140 | 143 |
| 141 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 144 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| OLD | NEW |