protocol: create separate request context for fetch job

This commit is contained in:
Robo 2015-07-13 21:10:44 +05:30
parent 652843f447
commit 8eb87c5d2b
6 changed files with 22 additions and 16 deletions

View file

@ -61,8 +61,7 @@ class AdapterRequestJob : public net::URLRequestJob {
const std::string& charset,
scoped_refptr<base::RefCountedBytes> data);
void CreateFileJobAndStart(const base::FilePath& path);
void CreateHttpJobAndStart(AtomBrowserContext* browser_context,
const GURL& url,
void CreateHttpJobAndStart(const GURL& url,
const std::string& method,
const std::string& referrer);
void CreateJobFromProtocolHandlerAndStart();