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..f2e1bf7dc89739252eb6f33ad38fbe377b74b20e 100644 |
| --- a/chrome/installer/util/shell_util.h |
| +++ b/chrome/installer/util/shell_util.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved |
|
grt (UTC plus 2)
2012/09/20 13:10:13
Please put the '.' back at the end of this line.
benwells
2012/09/21 01:15:20
Done.
|
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| @@ -313,6 +313,19 @@ class ShellUtil { |
| const string16& chrome_exe, |
| const string16& protocol); |
| + |
| + // 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. |