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

Unified Diff: chrome/browser/platform_util.h

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
« no previous file with comments | « no previous file | chrome/browser/platform_util_common_linux.cc » ('j') | chrome/installer/setup/setup_main.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/platform_util.h
diff --git a/chrome/browser/platform_util.h b/chrome/browser/platform_util.h
index 2cc4c1b8e45912fac704c2023d29e6192d76ee73..74a453747a3e3b10a1a483e17763f741d7422140 100644
--- a/chrome/browser/platform_util.h
+++ b/chrome/browser/platform_util.h
@@ -87,6 +87,10 @@ Channel GetChannel();
// Returns true if the running browser can be set as the default browser.
bool CanSetAsDefaultBrowser();
+// Returns true if the running browser can be set as the default client
+// application for the given protocol.
+bool CanSetAsDefaultProtocolClient(const std::string& protocol);
+
}
#endif // CHROME_BROWSER_PLATFORM_UTIL_H_
« no previous file with comments | « no previous file | chrome/browser/platform_util_common_linux.cc » ('j') | chrome/installer/setup/setup_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698