summaryrefslogtreecommitdiffstats
path: root/base/metrics/bucket_ranges_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* [UMA] Remove redundant bucket_count variable from base::Histogram.isherman@chromium.org2013-06-271-1/+2
| | | | | | | | | | BUG=248623 TEST=none R=jar@chromium.org Review URL: https://chromiumcodereview.appspot.com/17451016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208917 0039d316-1c4b-4281-b951-d872f2087c98
* Add explicit tests for histogram factory matching.gavinp@chromium.org2012-10-271-1/+1
| | | | | | | | | | | | | | Two instances of the same histogram has worked since landed with http://src.chromium.org/viewvc/chrome?view=rev&revision=33933 , but wasn't tested. This CL adds a short test that makes sure we have this functionality. In order to keep the tests isolated from each other (so they don't inadvertantly start depending on each other), we have to add a test fixture to initialize and clear a StatisticsRecorder for each test. R=jar@chromium.org,rvargas@chromium.org BUG=None Review URL: https://chromiumcodereview.appspot.com/11272044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164536 0039d316-1c4b-4281-b951-d872f2087c98
* This is a major refactor of Histogram related code:kaiwang@chromium.org2012-08-011-0/+16
| | | | | | | | | | | 1. Remove duplicated code from histogram.h/.cc, including validating related code and BucketRanges related. 2. Constness of BucketRanges from Histograms, to prevent accidentally modification and provide a simpler interface. 3. Add/move tests. Review URL: https://chromiumcodereview.appspot.com/10834011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149495 0039d316-1c4b-4281-b951-d872f2087c98
* This is a copy of http://codereview.chromium.org/10796047/kaiwang@chromium.org2012-07-251-0/+75
| | | | | | | | | It was reverted in https://chromiumcodereview.appspot.com/10807083/ because it unveiled a problem of build_nexe.py on Windows (http://crbug.com/138687). Now the bug is fixed so submit this CL again. Review URL: https://chromiumcodereview.appspot.com/10809076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148391 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 148055 - Move CachedRanges out and add support for checksum.jochen@chromium.org2012-07-241-75/+0
| | | | | | | | | | | This breaks the NaCL compiler, as the addition the base.gypi results in a too long command line. For the sake of getting the tree green, I'm reverting this, although the NaCL compiler is really to blame Review URL: https://chromiumcodereview.appspot.com/10796047 TBR=kaiwang@chromium.org Review URL: https://chromiumcodereview.appspot.com/10807083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148060 0039d316-1c4b-4281-b951-d872f2087c98
* Move CachedRanges out and add support for checksum.kaiwang@chromium.org2012-07-241-0/+75
Review URL: https://chromiumcodereview.appspot.com/10796047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148055 0039d316-1c4b-4281-b951-d872f2087c98