Chromium Code Reviews| Index: chrome/installer/util/browser_distribution.h |
| diff --git a/chrome/installer/util/browser_distribution.h b/chrome/installer/util/browser_distribution.h |
| index b308c04fecddd8223de6ef11c97ae9dcd7f031a3..52c051e3acd0f4561dfb3382c63d52a2c49d3754 100644 |
| --- a/chrome/installer/util/browser_distribution.h |
| +++ b/chrome/installer/util/browser_distribution.h |
| @@ -89,6 +89,18 @@ class BrowserDistribution { |
| // should be suffixed in all scenarios. |
| virtual string16 GetBaseAppId(); |
| + // Returns the Browser ProgId prefix (e.g. ChromeHTML, ChromiumHTM, etc...). |
| + // The full id is of the form |prefix|.|suffix| and is limited to a maximum |
| + // length of 39 characters including null-terminator. See |
| + // http://msdn.microsoft.com/library/aa911706.aspx for details. We define |
| + // |suffix| as a fixed-length 26-character alphanumeric identifier, therefore |
| + // the return value of this function should have a maximum length of |
|
grt (UTC plus 2)
2013/09/11 03:52:32
should or must?
zturner
2013/09/11 21:16:59
Done.
|
| + // 39 - 1(null-term) - 26(|suffix|) - 1(dot separator) = 11 characters. |
| + virtual string16 GetBrowserProgIdPrefix(); |
| + |
| + // Returns the Browser ProgId description. |
| + virtual string16 GetBrowserProgIdDesc(); |
| + |
| virtual string16 GetInstallSubDir(); |
| virtual string16 GetPublisherName(); |
| @@ -117,6 +129,7 @@ class BrowserDistribution { |
| virtual string16 GetVersionKey(); |
| + // Returns true if this distribution can be set as the default browser. |
| virtual bool CanSetAsDefault(); |
| virtual bool CanCreateDesktopShortcuts(); |