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

Unified Diff: components/safe_browsing_db/v4_local_database_manager.h

Issue 2441923003: PVer4: Add UMA metrics for time taken to: load DB, do prefix check, (Closed)
Patch Set: git rebase 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
Index: components/safe_browsing_db/v4_local_database_manager.h
diff --git a/components/safe_browsing_db/v4_local_database_manager.h b/components/safe_browsing_db/v4_local_database_manager.h
index a5bdef46ae48c68c2802c375f7d8703c4910e09b..b6955cb2eb47a9c930d9dce8ee1de25e9bf2f3d4 100644
--- a/components/safe_browsing_db/v4_local_database_manager.h
+++ b/components/safe_browsing_db/v4_local_database_manager.h
@@ -109,6 +109,10 @@ class V4LocalDatabaseManager : public SafeBrowsingDatabaseManager {
// The threat verdict for the URL being checked.
SBThreatType result_threat_type;
+ // When the check was sent to the SafeBrowsing service. Used to record the
Nathan Parker 2016/10/21 20:21:19 I'm not clear on this description. Is it the full
vakh (use Gerrit instead) 2016/10/21 22:54:04 Done.
+ // time it takes to get the uncached full hashes from the service.
+ base::TimeTicks start;
+
// The SafeBrowsing lists to check hash prefixes in.
StoresToCheck stores_to_check;

Powered by Google App Engine
This is Rietveld 408576698