| 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 // IMPORTANT: This should only be called by the installer which needs to make | 72 // IMPORTANT: This should only be called by the installer which needs to make |
| 73 // decisions on the suffixing of the upcoming install, not by external callers | 73 // decisions on the suffixing of the upcoming install, not by external callers |
| 74 // at run-time. | 74 // at run-time. |
| 75 virtual string16 GetBaseAppName(); | 75 virtual string16 GetBaseAppName(); |
| 76 | 76 |
| 77 // Returns the localized name of the program. | 77 // Returns the localized name of the program. |
| 78 virtual string16 GetAppShortCutName(); | 78 virtual string16 GetAppShortCutName(); |
| 79 | 79 |
| 80 virtual string16 GetAlternateApplicationName(); | 80 virtual string16 GetAlternateApplicationName(); |
| 81 | 81 |
| 82 virtual string16 GetBrowserAppId(); | 82 // Returns the unsuffixed appid of this program. |
| 83 // The AppUserModelId is a property of Windows programs. |
| 84 // IMPORTANT: This should only be called by ShellUtil::GetAppId as the appid |
| 85 // should be suffixed in all scenarios. |
| 86 virtual string16 GetBaseAppId(); |
| 83 | 87 |
| 84 virtual string16 GetInstallSubDir(); | 88 virtual string16 GetInstallSubDir(); |
| 85 | 89 |
| 86 virtual string16 GetPublisherName(); | 90 virtual string16 GetPublisherName(); |
| 87 | 91 |
| 88 virtual string16 GetAppDescription(); | 92 virtual string16 GetAppDescription(); |
| 89 | 93 |
| 90 virtual string16 GetLongAppDescription(); | 94 virtual string16 GetLongAppDescription(); |
| 91 | 95 |
| 92 virtual std::string GetSafeBrowsingName(); | 96 virtual std::string GetSafeBrowsingName(); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 169 |
| 166 const Type type_; | 170 const Type type_; |
| 167 | 171 |
| 168 private: | 172 private: |
| 169 BrowserDistribution(); | 173 BrowserDistribution(); |
| 170 | 174 |
| 171 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 175 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
| 172 }; | 176 }; |
| 173 | 177 |
| 174 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 178 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| OLD | NEW |