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

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

Issue 10963004: Fix registerProtocolHandler OS registration on Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed blank line Created 8 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/shell_util.h
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h
index 096b7dc657869f7000f61bb3e4d2010072258593..b6afc95a7b2171fce4a755e5515496ecfd6c8119 100644
--- a/chrome/installer/util/shell_util.h
+++ b/chrome/installer/util/shell_util.h
@@ -313,6 +313,18 @@ 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.

Powered by Google App Engine
This is Rietveld 408576698