diff options
author | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-26 07:48:02 +0000 |
---|---|---|
committer | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-26 07:48:02 +0000 |
commit | 4468a5b324c9e1af0f756ccb4ba5f97a37892eb9 (patch) | |
tree | 467daa8d43f65986353d4f1bb5cf82e71cebd3a8 /chrome/browser/platform_util.h | |
parent | e31d4c246deaefc59fe4f4fa66a74cd827694a41 (diff) | |
download | chromium_src-4468a5b324c9e1af0f756ccb4ba5f97a37892eb9.zip chromium_src-4468a5b324c9e1af0f756ccb4ba5f97a37892eb9.tar.gz chromium_src-4468a5b324c9e1af0f756ccb4ba5f97a37892eb9.tar.bz2 |
Allow chrome to become the os default handler for arbitrary protocols on mac/win.
Note this is unused currently, but will be hooked up to
navigator.registerProtocolHandler in a subsequent change.
BUG=83556
TEST=Manual
Review URL: http://codereview.chromium.org/6961013
Patch from Ben Wells <benwells@chromium.org>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/platform_util.h')
-rw-r--r-- | chrome/browser/platform_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/platform_util.h b/chrome/browser/platform_util.h index 2cc4c1b..74a4537 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_ |