commit | 3d21c42593b6f372d43e65856beb558153e96f09 | [log] [tgz] |
---|---|---|
author | Daniel Erat <derat@chromium.org> | Fri Oct 12 00:31:21 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 12 00:31:21 2018 |
tree | 10c77ab39f661523971818d7fb55dbfb5dfb932b | |
parent | 4226ddf99103e493d7afb23a4c7902ee496108b6 [diff] |
chromeos: Fix autotestPrivate.getHistograms for other procs. Make the chrome.autotestPrivate API's getHistograms function call content::FetchHistogramsAsynchronously() and base::StatisticsRecorder::ImportProvidedHistograms() to fetch and incorporate histogram data from other processes, similar to what chrome://histograms does. Without this, the function (which is called over the Chrome DevTools Protocol by Chrome OS integration tests) serves stale data. For example, Media.GpuVideoDecoderInitializeStatus samples are missing since that histogram is recorded from renderer processes. Bug: 893937 Change-Id: Id6415f1a32b41ad7ddeb251216f09b2314eb5980 Reviewed-on: https://chromium-review.googlesource.com/c/1274892 Commit-Queue: Dan Erat <derat@chromium.org> Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Reviewed-by: Ilya Sherman <isherman@chromium.org> Cr-Commit-Position: refs/heads/master@{#599035}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .