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

Unified Diff: components/safe_browsing_db/v4_local_database_manager.cc

Issue 2687043003: GetThreatSeverity should handle the case of CheckResourceUrl. (Closed)
Patch Set: Created 3 years, 10 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/safe_browsing_db/v4_local_database_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fc590785de553d1f690b16ca7613bc147fc40ef0..b21f2bd1d59eb0f011ed201d0758108d1b5c751a 100644
--- a/components/safe_browsing_db/v4_local_database_manager.cc
+++ b/components/safe_browsing_db/v4_local_database_manager.cc
@@ -87,6 +87,7 @@ ThreatSeverity GetThreatSeverity(const ListIdentifier& list_id) {
case UNWANTED_SOFTWARE:
return 1;
case API_ABUSE:
+ case CLIENT_INCIDENT:
return 2;
default:
NOTREACHED() << "Unexpected ThreatType encountered: "
« no previous file with comments | « no previous file | components/safe_browsing_db/v4_local_database_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698