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

Unified Diff: components/safe_browsing_db/util.h

Issue 1556613002: Adds SB V4 response handler to Protocol Manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@osb-pm-1
Patch Set: Created 5 years 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/util.h
diff --git a/components/safe_browsing_db/util.h b/components/safe_browsing_db/util.h
index dfa38e88daccf16715143353b7f923c2644c10fd..433055b6be02e93aff491592af1af9d233401e63 100644
--- a/components/safe_browsing_db/util.h
+++ b/components/safe_browsing_db/util.h
@@ -64,6 +64,8 @@ struct SBFullHashResult {
// TODO(shess): Refactor to allow ListType here.
int list_id;
std::string metadata;
+ // Used only for V4 results.
awoz 2015/12/30 18:23:13 Can you briefly explain how this duration is used?
kcarattini 2016/01/04 00:52:01 Done.
+ base::TimeDelta cache_duration;
};
// Caches individual response from GETHASH request.

Powered by Google App Engine
This is Rietveld 408576698