DescriptionAdd ownership-transfer to histogram management calls.
Both histogram-persistence and statistics-recorder manage
ownership of histograms. This CL changes the interface
to use scoped_ptr to explicitly document, with std::move,
when the transfer of ownership is taking place.
BUG=
Done as part of https://codereview.chromium.org/1738063002/
Patch Set 1 #Patch Set 2 : also update chromecast GroupedHistogram #Patch Set 3 : rebased #Patch Set 4 : rebased #
Messages
Total messages: 6 (3 generated)
|