Chromium Code Reviews| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 114 virtual string16 GetUninstallLinkName(); | 114 virtual string16 GetUninstallLinkName(); |
| 115 | 115 |
| 116 virtual string16 GetUninstallRegPath(); | 116 virtual string16 GetUninstallRegPath(); |
| 117 | 117 |
| 118 virtual string16 GetVersionKey(); | 118 virtual string16 GetVersionKey(); |
| 119 | 119 |
| 120 virtual bool CanSetAsDefault(); | 120 virtual bool CanSetAsDefault(); |
| 121 | 121 |
| 122 virtual bool CanCreateDesktopShortcuts(); | 122 virtual bool CanCreateDesktopShortcuts(); |
| 123 | 123 |
| 124 virtual string16 GetIconExe(); | |
|
gab
2012/11/13 14:15:12
I don't really like this new call, I feel if this
erikwright (departed)
2012/11/13 14:55:34
Which .exe the icon is in is also constant.
grt (UTC plus 2)
2012/11/13 16:19:32
GetIconExe -> GetIconFile or somesuch, since icons
huangs
2012/11/13 20:41:54
I would prefer to have a method to get the full pa
huangs
2012/11/13 20:41:54
Renamed to GetIconFile(), and added comments.
| |
| 125 | |
| 124 virtual int GetIconIndex(); | 126 virtual int GetIconIndex(); |
| 125 | 127 |
| 126 virtual bool GetChromeChannel(string16* channel); | 128 virtual bool GetChromeChannel(string16* channel); |
| 127 | 129 |
| 128 // Returns true if the distribution includes a DelegateExecute verb handler, | 130 // Returns true if the distribution includes a DelegateExecute verb handler, |
| 129 // and provides the CommandExecuteImpl class UUID if |handler_class_uuid| is | 131 // and provides the CommandExecuteImpl class UUID if |handler_class_uuid| is |
| 130 // non-NULL. | 132 // non-NULL. |
| 131 virtual bool GetCommandExecuteImplClsid(string16* handler_class_uuid); | 133 virtual bool GetCommandExecuteImplClsid(string16* handler_class_uuid); |
| 132 | 134 |
| 133 virtual void UpdateInstallStatus(bool system_install, | 135 virtual void UpdateInstallStatus(bool system_install, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 165 | 167 |
| 166 const Type type_; | 168 const Type type_; |
| 167 | 169 |
| 168 private: | 170 private: |
| 169 BrowserDistribution(); | 171 BrowserDistribution(); |
| 170 | 172 |
| 171 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); | 173 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); |
| 172 }; | 174 }; |
| 173 | 175 |
| 174 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ | 176 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ |
| OLD | NEW |