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

Unified Diff: chrome/browser/platform_util_mac.mm

Issue 6961013: Allow chrome to become the os default handler for arbitrary protocols on mac/win. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More changes for comments; fix for a bug introduced with DefaultWebClientWorker refactoring Created 9 years, 7 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/platform_util_mac.mm
diff --git a/chrome/browser/platform_util_mac.mm b/chrome/browser/platform_util_mac.mm
index d57910623bdb901894c6b48335bfc4f3e8a70a11..818ab968ded9543ae7154468d0af284f271eabdd 100644
--- a/chrome/browser/platform_util_mac.mm
+++ b/chrome/browser/platform_util_mac.mm
@@ -230,4 +230,8 @@ bool CanSetAsDefaultBrowser() {
return GetChannel() != CHANNEL_CANARY;
}
+bool CanSetAsDefaultProtocolClient(const std::string& protocol) {
+ return CanSetAsDefaultBrowser();
+}
+
} // namespace platform_util

Powered by Google App Engine
This is Rietveld 408576698