Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Unified Diff: chrome/install_static/install_util.h

Issue 2764963002: Move ProgID methods from BrowserDistribution into install_static. (Closed)
Patch Set: huangs comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/install_static/install_modes_unittest.cc ('k') | chrome/install_static/install_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..37742b50ab5dcd4807531a702639ca947c05f550 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 or ChromiumHTM). 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 - 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();
« no previous file with comments | « chrome/install_static/install_modes_unittest.cc ('k') | chrome/install_static/install_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698