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

Unified Diff: components/precache/content/precache_manager_unittest.cc

Issue 2413423002: Add Precache.CacheStatus.NonPrefetch.FromPrecache. (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 | components/precache/core/precache_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/precache/content/precache_manager_unittest.cc
diff --git a/components/precache/content/precache_manager_unittest.cc b/components/precache/content/precache_manager_unittest.cc
index e2d448c608065b8e7248e6fa115cca5c6dac698a..b35d1c0c3a30401e6dd4af75f8b5c2b0de11333c 100644
--- a/components/precache/content/precache_manager_unittest.cc
+++ b/components/precache/content/precache_manager_unittest.cc
@@ -556,6 +556,8 @@ TEST_F(PrecacheManagerTest, DeleteExpiredPrecacheHistory) {
GURL(), base::TimeDelta(),
kCurrentTime, info_, 1000);
expected_histogram_count_map["Precache.CacheStatus.NonPrefetch"] += 2;
+ expected_histogram_count_map
+ ["Precache.CacheStatus.NonPrefetch.FromPrecache"] += 2;
expected_histogram_count_map["Precache.Latency.NonPrefetch"] += 2;
expected_histogram_count_map["Precache.Latency.NonPrefetch.NonTopHosts"] += 2;
expected_histogram_count_map["Precache.Saved"] += 2;
« no previous file with comments | « no previous file | components/precache/core/precache_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698