The function getAndReset returns a map which holds the name of a histogram and its samples. This CL depends on: https://codereview.webrtc.org/1915523002/ BUG= Review-Url: https://codereview.webrtc.org/1952223007 Cr-Commit-Position: refs/heads/master@{#12848}