Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: chrome/browser/ui/cocoa/browser/password_generation_bubble_controller_unittest.mm

Issue 12207058: Connect SparseHistogram with the rest of stats system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/browser/password_generation_bubble_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller_unittest.mm b/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller_unittest.mm
index 55c4e7219096e418738c1cf04f88d5735d96d293..0ac11eb470509ee1623b838eff0fafd8964e94f8 100644
--- a/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller_unittest.mm
@@ -14,7 +14,7 @@
#include "content/public/common/password_form.h"
#include "testing/gtest_mac.h"
-using base::Histogram;
+using base::HistogramBase;
using base::HistogramSamples;
using base::StatisticsRecorder;
@@ -34,7 +34,8 @@ class PasswordGenerationBubbleControllerTest : public CocoaProfileTest {
generator_.reset(new autofill::PasswordGenerator(20));
- Histogram* histogram = StatisticsRecorder::FindHistogram(kHistogramName);
+ HistogramBase* histogram =
+ StatisticsRecorder::FindHistogram(kHistogramName);
if (histogram)
original_ = histogram->SnapshotSamples();
@@ -65,7 +66,7 @@ class PasswordGenerationBubbleControllerTest : public CocoaProfileTest {
}
HistogramSamples* GetHistogramSamples() {
- Histogram* histogram =
+ HistogramBase* histogram =
StatisticsRecorder::FindHistogram(kHistogramName);
if (histogram) {
current_ = histogram->SnapshotSamples();
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc ('k') | chrome/common/metrics/metrics_service_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698