DescriptionSigninStatusMetricsProvider factory returns a std::unique_ptr<>.
Since SigninStatusMetricsProvider::CreateInstance returns a newly
created object owned by the caller, enforce this by returning a
std::unique_ptr<> instead of a raw pointer.
Remove unnecessary calls to base::WrapUnique() after this API change.
BUG=None
Committed: https://crrev.com/a1b6a7e45fe530ca5e3c5ab026aa35cb2b2e05da
Cr-Commit-Position: refs/heads/master@{#441375}
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 22 (14 generated)
|