Implement protocol.uninterceptProtocol
This commit is contained in:
parent
773e932e98
commit
741c8f3d98
2 changed files with 27 additions and 1 deletions
|
@ -162,6 +162,10 @@ class Protocol : public mate::Wrappable {
|
|||
return PROTOCOL_OK;
|
||||
}
|
||||
|
||||
// Restore the |scheme| to its original protocol handler.
|
||||
void UninterceptProtocol(const std::string& scheme, mate::Arguments* args);
|
||||
ProtocolError UninterceptProtocolInIO(const std::string& scheme);
|
||||
|
||||
// Convert error code to JS exception and call the callback.
|
||||
void OnIOCompleted(const CompletionCallback& callback, ProtocolError error);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue