Chromium Code Reviews| 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..41f0517eaed3f719f1233f12e35b3617092c7bad 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 user. |
|
bartfab (slow)
2014/09/01 14:56:43
Nit: s/user/the user/
kaliamoorthi
2014/09/01 15:11:58
Done.
|
| + bool IsRegisteredByUser(const ProtocolHandler& handler); |
| + |
| + // Returns true, if the scheme has at-least one handler that is registered by |
|
bartfab (slow)
2014/09/01 14:56:43
Nit 1: s/,//
Nit 2: s/at-least/at least/
kaliamoorthi
2014/09/01 15:11:58
Done.
|
| + // policy. |
| + bool HasPolicyRegisteredHandler(const std::string& scheme); |
| + |
| // Returns true if an identical protocol handler is being ignored. |
| bool IsIgnored(const ProtocolHandler& handler) const; |