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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_view_test.cc

Issue 379283002: Rework UMAHistogramHelper and StatisticsDeltaReader into [Chrome]HistogramTester. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 4 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/views/passwords/manage_passwords_view_test.cc
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_view_test.cc b/chrome/browser/ui/views/passwords/manage_passwords_view_test.cc
index da4401e7c871f09288fa3769810bf44cbbbbd33f..618217de520510c6ccc86c386b15b35146ef6a3d 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_view_test.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_view_test.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/ui/views/passwords/manage_passwords_view_test.h"
-#include "base/test/statistics_delta_reader.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_command_controller.h"
@@ -104,6 +103,6 @@ base::HistogramSamples* ManagePasswordsViewTest::GetSamples(
const char* histogram) {
// Ensure that everything has been properly recorded before pulling samples.
content::RunAllPendingInMessageLoop();
- return statistics_reader_.GetHistogramSamplesSinceCreation(
- histogram).release();
+ return histogram_tester_.GetHistogramSamplesSinceCreation(histogram)
+ .release();
}

Powered by Google App Engine
This is Rietveld 408576698