Use CompletionOnceCallback in URLRequestSimpleJob.

1155089
This commit is contained in:
deepak1556 2018-10-25 20:50:55 +05:30
parent 8f1fa4177e
commit c1f32afeeb
4 changed files with 7 additions and 8 deletions

View file

@ -143,7 +143,7 @@ int URLRequestBufferJob::GetRefCountedData(
std::string* mime_type,
std::string* charset,
scoped_refptr<base::RefCountedMemory>* data,
const net::CompletionCallback& callback) const {
net::CompletionOnceCallback callback) const {
*mime_type = mime_type_;
*charset = charset_;
*data = data_;