Chromium Code Reviews| Index: chrome/install_static/install_util.h |
| diff --git a/chrome/install_static/install_util.h b/chrome/install_static/install_util.h |
| index a66554e5c3789da89b70cb84cf6df1163447c788..d4329b0be110223fea2e9ff50f9a9a849f5b6eea 100644 |
| --- a/chrome/install_static/install_util.h |
| +++ b/chrome/install_static/install_util.h |
| @@ -80,6 +80,18 @@ const wchar_t* GetAppGuid(); |
| // directly. |
| const wchar_t* GetBaseAppId(); |
| +// Returns the browser's ProgID prefix (e.g., ChromeHTML, ChromiumHTM, etc...). |
|
huangs
2017/03/21 15:35:48
NIT: "etc..." => "etc." or "..."
grt (UTC plus 2)
2017/03/22 08:03:36
Done.
|
| +// The full id is of the form |prefix|.|suffix| and is limited to a maximum |
| +// length of 39 characters including null-terminator; see |
| +// https://msdn.microsoft.com/library/windows/desktop/dd542719.aspx for details. |
| +// We define |suffix| as a fixed-length 26-character alphanumeric identifier, |
| +// therefore the return value of this function must have a maximum length of 39 |
|
huangs
2017/03/21 15:35:48
Might be nice to keep the formula on its own line.
grt (UTC plus 2)
2017/03/22 08:03:36
Done.
|
| +// - 1(null-term) - 26(|suffix|) - 1(dot separator) = 11 characters. |
| +const wchar_t* GetProgIdPrefix(); |
| + |
| +// Returns the browser's ProgId description. |
| +const wchar_t* GetProgIdDescription(); |
| + |
| // Returns true if usage stats collecting is enabled for this user for the |
| // current executable. |
| bool GetCollectStatsConsent(); |