X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fbrowser%2Fcustom_handlers%2Fprotocol_handler_registry.h;h=4afc07f08af30813d89ae213e007453911f6bc05;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=724c591f13e568db1badc8b4bac6357693ac9ab5;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/browser/custom_handlers/protocol_handler_registry.h b/src/chrome/browser/custom_handlers/protocol_handler_registry.h index 724c591..4afc07f 100644 --- a/src/chrome/browser/custom_handlers/protocol_handler_registry.h +++ b/src/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;