Pass net::URLRequestContextGetter in scoped_refptr

This commit is contained in:
Cheng Zhao 2015-08-10 15:28:18 +08:00
parent c295979270
commit 0644129fbe
7 changed files with 31 additions and 33 deletions

View file

@ -65,7 +65,7 @@ class AdapterRequestJob : public net::URLRequestJob {
scoped_refptr<base::RefCountedBytes> data);
void CreateFileJobAndStart(const base::FilePath& path);
void CreateHttpJobAndStart(
net::URLRequestContextGetter* request_context_getter,
scoped_refptr<net::URLRequestContextGetter> request_context_getter,
const GURL& url,
const std::string& method,
const std::string& referrer);