Index: chrome/browser/custom_handlers/protocol_handler_registry.h |
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.h b/chrome/browser/custom_handlers/protocol_handler_registry.h |
index 724c591f13e568db1badc8b4bac6357693ac9ab5..4afc07f08af30813d89ae213e007453911f6bc05 100644 |
--- a/chrome/browser/custom_handlers/protocol_handler_registry.h |
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.h |
@@ -201,6 +201,14 @@ class ProtocolHandlerRegistry : public KeyedService { |
// Returns true if an identical protocol handler has already been registered. |
bool IsRegistered(const ProtocolHandler& handler) const; |
+ // Returns true if an identical protocol handler has already been registered |
+ // by the user. |
+ bool IsRegisteredByUser(const ProtocolHandler& handler); |
+ |
+ // Returns true if the scheme has at least one handler that is registered by |
+ // policy. |
+ bool HasPolicyRegisteredHandler(const std::string& scheme); |
+ |
// Returns true if an identical protocol handler is being ignored. |
bool IsIgnored(const ProtocolHandler& handler) const; |