Include-what-you-use for WrapUnique/MakeUnique.

This CL adds #include "base/memory/ptr_util.h" to any .h/.cc/.cpp/.mm
file that contains the string "base::MakeUnique" or "base::WrapUnique"
on a line that doesn't start with "//" and whose corresponding .h file
doesn't already contain the include.

.h files are processed first so that the #include is not added to a
.cc/.cpp/.mm file if it is also added to the corresponding .h file.

tools/sort-headers.py was applied to affected files.

TBR=brettw@chromium.org
BUG=675631
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Review-Url: https://codereview.chromium.org/2598963005
Cr-Commit-Position: refs/heads/master@{#440654}


CrOS-Libchrome-Original-Commit: ba12142132d0e0920acfd23a867a0746846ffc16
11 files changed
tree: ea9ca001e9c1f8cea7eb5fc507cf65d39a324c7c
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/