Index: chrome/installer/util/shell_util.h |
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h |
index de06322a0526d36037f7176a7017d4a532d342dd..a9aaea5b55133c29c7e9bc67f5e19c88bb4184da 100644 |
--- a/chrome/installer/util/shell_util.h |
+++ b/chrome/installer/util/shell_util.h |
@@ -242,6 +242,15 @@ class ShellUtil { |
static string16 GetApplicationName(BrowserDistribution* dist, |
const string16& chrome_exe); |
+ // Returns the appid of the program under |dist|. |
grt (UTC plus 2)
2012/06/15 03:03:03
How about:
// Returns the AppUserModelID for |dist
gab
2012/06/15 19:01:04
Done.
|
+ // This appid will *always* be suffixed for user-level installs. |
grt (UTC plus 2)
2012/06/15 03:03:03
please avoid *bold* in comments (blink tag is okay
gab
2012/06/15 19:01:04
<blink>Done.</blink>
|
+ // NOTE: This is different from ApplicationName and ChromeHTML which are |
+ // *only* suffixed if the current installation is suffixed. |
+ // This is the name under which Chrome is known as in the Windows shell |
+ // environment. |
+ static string16 GetAppId(BrowserDistribution* dist, |
+ const string16& chrome_exe); |
+ |
// Make Chrome the default browser. This function works by going through |
// the url protocols and file associations that are related to general |
// browsing, e.g. http, https, .html etc., and requesting to become the |
@@ -377,6 +386,7 @@ class ShellUtil { |
// |icon_index|. If create_new is set to true, the function will create a new |
// shortcut if it doesn't exist. |
// |options|: bitfield for which the options come from ChromeShortcutOptions. |
+ // This method should only be called after Chrome is registered. |
grt (UTC plus 2)
2012/06/15 03:03:03
why? because of the DCHECK, or is there a fundame
gab
2012/06/15 19:01:04
This was before we decided to always suffix the ap
|
static bool UpdateChromeShortcut(BrowserDistribution* dist, |
const string16& chrome_exe, |
const string16& shortcut, |