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

Unified Diff: components/history/core/browser/history_database.cc

Issue 963823003: Move InMemoryURLIndex into chrome/browser/autocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shortcut-database
Patch Set: Fixing win_chromium_x64_rel_ng build Created 5 years, 9 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: components/history/core/browser/history_database.cc
diff --git a/components/history/core/browser/history_database.cc b/components/history/core/browser/history_database.cc
index 4b58a5a0e539a460cadab5e3ae0000949d264004..3de452303da423f48b4d4a68ffafe31684615585 100644
--- a/components/history/core/browser/history_database.cc
+++ b/components/history/core/browser/history_database.cc
@@ -176,9 +176,11 @@ void HistoryDatabase::ComputeDatabaseMetrics(
}
}
UMA_HISTOGRAM_COUNTS("History.WeeklyURLCount", week_url_count);
- UMA_HISTOGRAM_COUNTS_10000("History.WeeklyHostCount", week_hosts.size());
+ UMA_HISTOGRAM_COUNTS_10000("History.WeeklyHostCount",
+ static_cast<int>(week_hosts.size()));
UMA_HISTOGRAM_COUNTS("History.MonthlyURLCount", month_url_count);
- UMA_HISTOGRAM_COUNTS_10000("History.MonthlyHostCount", month_hosts.size());
+ UMA_HISTOGRAM_COUNTS_10000("History.MonthlyHostCount",
+ static_cast<int>(month_hosts.size()));
UMA_HISTOGRAM_TIMES("History.DatabaseAdvancedMetricsTime",
base::TimeTicks::Now() - start_time);
}
« no previous file with comments | « components/history/core/browser/download_database.cc ('k') | components/history/core/browser/in_memory_url_index_cache.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698