Skip to content
  • fdoray's avatar
    Include-what-you-use for WrapUnique/MakeUnique. · ba121421
    fdoray authored
    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}
    ba121421