| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 Type GetType() const { return type_; } | 62 Type GetType() const { return type_; } |
| 63 | 63 |
| 64 virtual void DoPostUninstallOperations(const Version& version, | 64 virtual void DoPostUninstallOperations(const Version& version, |
| 65 const FilePath& local_data_path, | 65 const FilePath& local_data_path, |
| 66 const string16& distribution_data); | 66 const string16& distribution_data); |
| 67 | 67 |
| 68 virtual string16 GetAppGuid(); | 68 virtual string16 GetAppGuid(); |
| 69 | 69 |
| 70 // Returns the name by which the program is registered with Default Programs. | 70 // Returns the name by which the program is registered with Default Programs. |
| 71 // This is not a localized string suitable for presenting to a user. | 71 // This is not a localized string suitable for presenting to a user. |
| 72 // This name should then usually be suffixed for user-level installs. |
| 72 virtual string16 GetApplicationName(); | 73 virtual string16 GetApplicationName(); |
| 73 | 74 |
| 74 // Returns the localized name of the program. | 75 // Returns the localized name of the program. |
| 75 virtual string16 GetAppShortCutName(); | 76 virtual string16 GetAppShortCutName(); |
| 76 | 77 |
| 77 virtual string16 GetAlternateApplicationName(); | 78 virtual string16 GetAlternateApplicationName(); |
| 78 | 79 |
| 79 virtual string16 GetBrowserAppId(); | 80 virtual string16 GetBrowserAppId(); |
| 80 | 81 |
| 81 virtual string16 GetInstallSubDir(); | 82 virtual string16 GetInstallSubDir(); |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 | 163 |
| 163 const Type type_; | 164 const Type type_; |
| 164 | 165 |
| 165 private: | 166 private: |
| 166 BrowserDistribution(); | 167 BrowserDistribution(); |
| 167 | 168 |
| 168 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 169 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
| 169 }; | 170 }; |
| 170 | 171 |
| 171 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 172 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| OLD | NEW |