Simplify HistoryBackendTest.RecordTopHostsMetrics.
commitf2ec18dc03d37f72dea6c18c54a96d21338b319c
authortwifkak <twifkak@chromium.org>
Thu, 9 Jul 2015 08:42:49 +0000 (9 01:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Jul 2015 08:43:22 +0000 (9 08:43 +0000)
tree3cda213bb0ca95347cfa03e00825334febc0c739
parentac1592c73bdd24eca2ea3e591e8f7b199627e6e7
Simplify HistoryBackendTest.RecordTopHostsMetrics.

Use new HistogramTester::GetAllSamples() method to eliminate a bunch of
boilerplate from the unit test.

BUG=

Review URL: https://codereview.chromium.org/1224203002

Cr-Commit-Position: refs/heads/master@{#338000}
components/history/core/browser/history_backend_unittest.cc