DescriptionRemove some naked |new| statements in favor of MakeUnique.
* Call MakeUnique instead of new;
* use auto type where it does not hurt readability;
* use unique_ptr instead of raw pointers in HttpCacheTest;
* do not unnecessarily upcast HttpNetworkTransaction to HttpTransaction
in HttpNetworkTransactionTests;
* add/remove includes as needed.
Review-Url: https://codereview.chromium.org/2904643002
Cr-Commit-Position: refs/heads/master@{#474633}
Committed: https://chromium.googlesource.com/chromium/src/+/87dcefcd9544094a19def2688f7bcde92524560d
Patch Set 1 #Patch Set 2 : Revert changes in one test where it caused a crash. #
Total comments: 4
Patch Set 3 : Re: #11. #Messages
Total messages: 24 (18 generated)
|