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

Unified Diff: chrome/browser/shell_integration_win.h

Issue 1896513002: Fix registerProtocolHandler implementation on Windows 8 and 10. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Round of comment #1 Created 4 years, 8 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/browser/shell_integration_win.h
diff --git a/chrome/browser/shell_integration_win.h b/chrome/browser/shell_integration_win.h
index 34651e1d23c6788946502e25dd1c7f5a7e577591..44a844101ac92b0b0a0716961cc7ccfaceda439b 100644
--- a/chrome/browser/shell_integration_win.h
+++ b/chrome/browser/shell_integration_win.h
@@ -34,6 +34,13 @@ void SetAsDefaultBrowserUsingSystemSettings(
// dialog will be shown and this method returns true.
bool SetAsDefaultProtocolClientUsingIntentPicker(const std::string& protocol);
+// Initiates the interaction with the system settings for the default handler of
+// |protocol|. The function takes care of making sure |on_finished_callback|
+// will get called exactly once when the interaction is finished.
+void SetAsDefaultProtocolClientUsingSystemSettings(
+ const std::string& protocol,
+ const base::Closure& on_finished_callback);
+
} // namespace win
} // namespace shell_integration

Powered by Google App Engine
This is Rietveld 408576698