Rename protocol.isHandledProtocol to protocol.isProtocolHandled

This commit is contained in:
Cheng Zhao 2015-08-13 21:24:27 +08:00
parent 02714d466c
commit 467ba6b7a9
4 changed files with 222 additions and 243 deletions

View file

@ -125,9 +125,9 @@ class Protocol : public mate::Wrappable {
ProtocolError UnregisterProtocolInIO(const std::string& scheme);
// Whether the protocol has handler registered.
void IsHandledProtocol(const std::string& scheme,
void IsProtocolHandled(const std::string& scheme,
const BooleanCallback& callback);
bool IsHandledProtocolInIO(const std::string& scheme);
bool IsProtocolHandledInIO(const std::string& scheme);
// Replace the protocol handler with a new one.
template<typename RequestJob>