Allow setting method for RequestHttpJob

This commit is contained in:
Cheng Zhao 2015-06-17 10:57:26 +08:00
parent 81db8e098e
commit 274854876c
6 changed files with 41 additions and 15 deletions

View file

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