summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_protocol_handler.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 19:33:07 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 19:33:07 +0000
commit98299483b0b891bc245c946b5bf2608e5904db25 (patch)
treedd5368ae5e49127d21eb3db2210a8610d8b3b441 /chrome/browser/external_protocol_handler.h
parent3d9d4558ac5f0e5f34269f37c5e5536bf221eb87 (diff)
downloadchromium_src-98299483b0b891bc245c946b5bf2608e5904db25.zip
chromium_src-98299483b0b891bc245c946b5bf2608e5904db25.tar.gz
chromium_src-98299483b0b891bc245c946b5bf2608e5904db25.tar.bz2
External protocol dialog support for the Mac.
BUG=http://crbug.com/15546 TEST=try to use an external protocol; it should put up a dialog Review URL: http://codereview.chromium.org/256065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_protocol_handler.h')
-rw-r--r--chrome/browser/external_protocol_handler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/external_protocol_handler.h b/chrome/browser/external_protocol_handler.h
index 5f3a078..20c82bc 100644
--- a/chrome/browser/external_protocol_handler.h
+++ b/chrome/browser/external_protocol_handler.h
@@ -23,6 +23,9 @@ class ExternalProtocolHandler {
// Returns whether we should block a given scheme.
static BlockState GetBlockState(const std::wstring& scheme);
+ // Sets whether we should block a given scheme.
+ static void SetBlockState(const std::wstring& scheme, BlockState state);
+
// Checks to see if the protocol is allowed, if it is whitelisted,
// the application associated with the protocol is launched on the io thread,
// if it is blacklisted, returns silently. Otherwise, an