Mandate unique_ptr for base::IDMap in IDMapOwnPointer mode.
This patch refactors all callsites of base::IDMap<T, IDMapOwnPointer>
to pass an std::unique_ptr, eliminating implicit transfers of ownership
when passing a raw pointer.
This is step 1 of 2 of refactoring base::IDMap to use std::unique_ptr
instead of custom memory management code. (Step 2 will be to eliminate
the IDMapOwnershipSemantics enum and just make callers create IDMaps with
unique_ptrs as the value type: pending at http://crrev.com/2496653002/)
BUG=647091
TBR=boliu (for android_webview/)
TBR=stevenjb (for networking_private_service_client.cc)
TBR=jochen (other files)
Review-Url: https://codereview.chromium.org/2480293004
Cr-Commit-Position: refs/heads/master@{#435362}
85 files changed