Call the JS handler to get the type of job.

This commit is contained in:
Cheng Zhao 2013-08-24 20:18:12 +08:00
parent 214df5ef69
commit 8cd7ccdc0d
3 changed files with 39 additions and 13 deletions

View file

@ -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);
};