Call the JS handler to get the type of job.
This commit is contained in:
parent
214df5ef69
commit
8cd7ccdc0d
3 changed files with 39 additions and 13 deletions
|
@ -26,9 +26,6 @@ class Protocol {
|
|||
static void RegisterProtocolInIO(const std::string& scheme);
|
||||
static void UnregisterProtocolInIO(const std::string& scheme);
|
||||
|
||||
typedef std::map<std::string, v8::Persistent<v8::Function>> HandlersMap;
|
||||
static HandlersMap handlers_;
|
||||
|
||||
DISALLOW_IMPLICIT_CONSTRUCTORS(Protocol);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue