diff options
author | mlerman@chromium.org <mlerman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-21 22:00:38 +0000 |
---|---|---|
committer | mlerman@chromium.org <mlerman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-21 22:02:32 +0000 |
commit | e7e9c86c60b24fbd53aa567ba423531486447f65 (patch) | |
tree | 65b96425ea8667953e2794ae38a9a2b157786bd4 /chrome/browser/accessibility | |
parent | 46ad8a9eca18c09dea5055b30f6552331e13de59 (diff) | |
download | chromium_src-e7e9c86c60b24fbd53aa567ba423531486447f65.zip chromium_src-e7e9c86c60b24fbd53aa567ba423531486447f65.tar.gz chromium_src-e7e9c86c60b24fbd53aa567ba423531486447f65.tar.bz2 |
Rework UMAHistogramHelper and StatisticsDeltaReader into [Chrome]HistogramTester.
Design Doc (Googlers Only):
https://docs.google.com/a/google.com/document/d/1RUY0BcxBppdkwFP3T8qbQmQStBRFGsLmuR4WuIXhiCA/edit
BUG=384011
TBR=timsteele@chromium.org
Review URL: https://codereview.chromium.org/379283002
Cr-Commit-Position: refs/heads/master@{#291207}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291207 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/accessibility')
-rw-r--r-- | chrome/browser/accessibility/browser_accessibility_state_browsertest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/accessibility/browser_accessibility_state_browsertest.cc b/chrome/browser/accessibility/browser_accessibility_state_browsertest.cc index f23f218..f75dd00 100644 --- a/chrome/browser/accessibility/browser_accessibility_state_browsertest.cc +++ b/chrome/browser/accessibility/browser_accessibility_state_browsertest.cc @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/test/histogram_tester.h" #include "content/public/browser/browser_accessibility_state.h" #include "chrome/test/base/in_process_browser_test.h" -#include "chrome/test/base/uma_histogram_helper.h" namespace content { @@ -15,10 +15,9 @@ class BrowserAccessibilityStateImplTest : public InProcessBrowserTest { }; IN_PROC_BROWSER_TEST_F(BrowserAccessibilityStateImplTest, TestHistograms) { - UMAHistogramHelper histograms; + base::HistogramTester histograms; BrowserAccessibilityState::GetInstance()->UpdateHistogramsForTesting(); - histograms.Fetch(); histograms.ExpectTotalCount("Accessibility.State", 1); #if defined(OS_WIN) histograms.ExpectTotalCount("Accessibility.WinScreenReader", 1); |