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

Unified Diff: chrome/browser/safe_browsing/srt_fetcher_win.cc

Issue 2388223002: SRTFetcher memory histograms should not use LinearHistogram. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/srt_fetcher_win.cc
diff --git a/chrome/browser/safe_browsing/srt_fetcher_win.cc b/chrome/browser/safe_browsing/srt_fetcher_win.cc
index dc765daad8306c7cdc7b81cd503468984f9ec492..a48e83e01629e4f2e576fbb9ef6dcd2f417a6378 100644
--- a/chrome/browser/safe_browsing/srt_fetcher_win.cc
+++ b/chrome/browser/safe_browsing/srt_fetcher_win.cc
@@ -468,8 +468,8 @@ class UMAHistogramReporter {
void RecordMemoryKBHistogram(const std::string& name, Sample sample) const {
// See UMA_HISTOGRAM_MEMORY_KB for the parameters to |FactoryGet|.
- auto histogram = base::LinearHistogram::FactoryGet(
- FullName(name), 1000, 500000, 50, kUmaHistogramFlag);
+ auto histogram = base::Histogram::FactoryGet(FullName(name), 1000, 500000,
+ 50, kUmaHistogramFlag);
if (histogram)
histogram->Add(sample);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698