Index: chrome/browser/external_protocol_handler.h |
=================================================================== |
--- chrome/browser/external_protocol_handler.h (revision 28103) |
+++ chrome/browser/external_protocol_handler.h (working copy) |
@@ -23,6 +23,9 @@ |
// 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 |