summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_protocol_handler.h
diff options
context:
space:
mode:
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