Modernize to C++11: Use auto
key to improve code readability and maintainability.
This commit is contained in:
parent
fab02809c6
commit
04f9d35312
22 changed files with 43 additions and 61 deletions
|
@ -72,7 +72,7 @@ void URLRequestBufferJob::GetResponseInfo(net::HttpResponseInfo* info) {
|
|||
status.append(" ");
|
||||
status.append(net::GetHttpReasonPhrase(status_code_));
|
||||
status.append("\0\0", 2);
|
||||
net::HttpResponseHeaders* headers = new net::HttpResponseHeaders(status);
|
||||
auto* headers = new net::HttpResponseHeaders(status);
|
||||
|
||||
headers->AddHeader(kCORSHeader);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue