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

Unified Diff: components/safe_browsing_db/v4_local_database_manager.cc

Issue 2645283007: Add the client for accessing Subresource Filter only list. (Closed)
Patch Set: adressed comments from jwd Created 3 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/safe_browsing_db/v4_local_database_manager.cc
diff --git a/components/safe_browsing_db/v4_local_database_manager.cc b/components/safe_browsing_db/v4_local_database_manager.cc
index 65c40b26a9dfe1e641ec24749a09fca30ba728ca..9f2436af4076fc043c9d6545fae87a869749169c 100644
--- a/components/safe_browsing_db/v4_local_database_manager.cc
+++ b/components/safe_browsing_db/v4_local_database_manager.cc
@@ -94,6 +94,7 @@ ThreatSeverity GetThreatSeverity(const ListIdentifier& list_id) {
return 1;
case API_ABUSE:
case CLIENT_INCIDENT:
+ case SUBRESOURCE_FILTER:
return 2;
default:
NOTREACHED() << "Unexpected ThreatType encountered: "

Powered by Google App Engine
This is Rietveld 408576698