Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / custom_handlers / protocol_handler_registry.h
index 724c591..4afc07f 100644 (file)
@@ -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;