get jsprotocolhandler in IO thread

This commit is contained in:
Robo 2015-07-22 21:54:12 +05:30
parent a1ec07e07e
commit 97c90d31d3
3 changed files with 11 additions and 10 deletions

View file

@ -54,7 +54,7 @@ class AdapterRequestJob : public net::URLRequestJob {
ProtocolHandler* default_protocol_handler() { return protocol_handler_; }
// Override this function to determine which job should be started.
virtual void GetJobTypeInUI() = 0;
virtual void GetJobType() = 0;
void CreateErrorJobAndStart(int error_code);
void CreateStringJobAndStart(const std::string& mime_type,