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

Unified Diff: chrome/installer/util/browser_distribution.h

Issue 23258005: Give SxS distribution its own registration GUIDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move typedef Created 7 years, 3 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
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..1d11a87b287b9f931c65c467d6333df8b32fe0bd 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 must have a maximum length of
+ // 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();

Powered by Google App Engine
This is Rietveld 408576698