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

Unified Diff: components/safe_browsing_db/v4_protocol_manager_util.cc

Issue 2349603003: V4LDBM: Get response from GetHashManager, detect severest result (Closed)
Patch Set: Add test for GetSeverestThreatTypeAndMetadata Created 4 years, 3 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_protocol_manager_util.cc
diff --git a/components/safe_browsing_db/v4_protocol_manager_util.cc b/components/safe_browsing_db/v4_protocol_manager_util.cc
index 857af33c6ee18da7ac3f0dee852285c0643c7bd6..333143d7be7c121588eb421a6707ca9bcb8c5c4f 100644
--- a/components/safe_browsing_db/v4_protocol_manager_util.cc
+++ b/components/safe_browsing_db/v4_protocol_manager_util.cc
@@ -85,6 +85,10 @@ return LINUX_PLATFORM;
#endif
}
+const UpdateListIdentifier GetChromeUrlApiId() {
+ return UpdateListIdentifier(CHROME_PLATFORM, URL, API_ABUSE);
+}
+
const UpdateListIdentifier GetUrlMalwareId() {
return UpdateListIdentifier(GetCurrentPlatformType(), URL, MALWARE_THREAT);
}
@@ -94,10 +98,6 @@ const UpdateListIdentifier GetUrlSocEngId() {
SOCIAL_ENGINEERING_PUBLIC);
}
-const UpdateListIdentifier GetChromeUrlApiId() {
- return UpdateListIdentifier(CHROME_PLATFORM, URL, API_ABUSE);
-}
-
// The Safe Browsing V4 server URL prefix.
const char kSbV4UrlPrefix[] = "https://safebrowsing.googleapis.com/v4";

Powered by Google App Engine
This is Rietveld 408576698