Chromium Code Reviews| Index: chrome/installer/util/shell_util.h |
| diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h |
| index 096b7dc657869f7000f61bb3e4d2010072258593..ed0d99d54dacc499be8077be1b7e756ec79b20cb 100644 |
| --- a/chrome/installer/util/shell_util.h |
| +++ b/chrome/installer/util/shell_util.h |
| @@ -313,6 +313,19 @@ class ShellUtil { |
| const string16& chrome_exe, |
| const string16& protocol); |
| + |
|
grt (UTC plus 2)
2012/09/24 14:46:20
nit: only one blank line between functions.
|
| + // Shows to the user a system dialog where Chrome can be set as the |
| + // default handler for the given protocol. This is intended for Windows 8 |
| + // and above only. This is a blocking call. |
| + // |
| + // |dist| gives the type of browser distribution currently in use. |
| + // |chrome_exe| The chrome.exe path to register as default browser. |
| + // |protocol| is the protocol being registered. |
| + static bool ShowMakeChromeDefaultProtocolClientSystemUI( |
| + BrowserDistribution* dist, |
| + const string16& chrome_exe, |
| + const string16& protocol); |
| + |
| // Registers Chrome as a potential default browser and handler for filetypes |
| // and protocols. |
| // If Chrome is already registered, this method is a no-op. |