Index: chrome/installer/util/shell_util.h |
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h |
index 93ce643ea1dc565fa90da53d173681705776dd05..cc08f9c6f2b388a11fdcefc20d2a417205d88a92 100644 |
--- a/chrome/installer/util/shell_util.h |
+++ b/chrome/installer/util/shell_util.h |
@@ -252,6 +252,14 @@ class ShellUtil { |
const string16& suffix, |
RegistrationConfirmationLevel confirmation_level); |
+ // Returns the application name of the program under |dist|. |
+ // This application name will be suffixed as is appropriate for the current |
+ // install. |
+ // This is the name that is registered in the Windows default programs list |
+ // and that should thus be used to "make chrome default" and such. |
+ static string16 GetApplicationName(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 |