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

Unified Diff: components/safe_browsing_db/v4_local_database_manager.cc

Issue 2536913002: Small: PVer4: Enable syncing internal lists for Google Chrome builds. (Closed)
Patch Set: Created 4 years, 1 month 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 d479e303a262afc65e5b6a7775de0d17e5ad8242..621f7019aba2abf191b1f442e92293a62115a3b3 100644
--- a/components/safe_browsing_db/v4_local_database_manager.cc
+++ b/components/safe_browsing_db/v4_local_database_manager.cc
@@ -40,16 +40,16 @@ ListInfos GetListInfos() {
// - The list doesn't have hash prefixes to match. All requests lead to full
// hash checks. For instance: GetChromeUrlApiId()
return ListInfos({
- ListInfo(false, "CertCsdDownloadWhitelist.store",
+ ListInfo(EnableInternalLists(), "CertCsdDownloadWhitelist.store",
Nathan Parker 2016/11/29 18:45:33 By setting fetch_updates=false for these, we're st
vakh (use Gerrit instead) 2016/11/29 20:24:49 but I'm not sure about ChromeFileNameClientInciden
vakh (use Gerrit instead) 2016/11/29 21:00:13 Done.
GetCertCsdDownloadWhitelistId(), SB_THREAT_TYPE_UNUSED),
- ListInfo(false, "ChromeFilenameClientIncident.store",
+ ListInfo(EnableInternalLists(), "ChromeFilenameClientIncident.store",
GetChromeFilenameClientIncidentId(), SB_THREAT_TYPE_UNUSED),
ListInfo(true, "IpMalware.store", GetIpMalwareId(),
SB_THREAT_TYPE_UNUSED),
- ListInfo(false, "UrlCsdDownloadWhitelist.store",
+ ListInfo(EnableInternalLists(), "UrlCsdDownloadWhitelist.store",
GetUrlCsdDownloadWhitelistId(), SB_THREAT_TYPE_UNUSED),
- ListInfo(false, "UrlCsdWhitelist.store", GetUrlCsdWhitelistId(),
- SB_THREAT_TYPE_UNUSED),
+ ListInfo(EnableInternalLists(), "UrlCsdWhitelist.store",
+ GetUrlCsdWhitelistId(), SB_THREAT_TYPE_UNUSED),
ListInfo(true, "UrlSoceng.store", GetUrlSocEngId(),
SB_THREAT_TYPE_URL_PHISHING),
ListInfo(true, "UrlMalware.store", GetUrlMalwareId(),
@@ -60,7 +60,7 @@ ListInfos GetListInfos() {
SB_THREAT_TYPE_BINARY_MALWARE_URL),
ListInfo(true, "ChromeExtMalware.store", GetChromeExtensionMalwareId(),
SB_THREAT_TYPE_EXTENSION),
- ListInfo(false, "ChromeUrlClientIncident.store",
+ ListInfo(EnableInternalLists(), "ChromeUrlClientIncident.store",
GetChromeUrlClientIncidentId(),
SB_THREAT_TYPE_BLACKLISTED_RESOURCE),
ListInfo(false, "", GetChromeUrlApiId(), SB_THREAT_TYPE_API_ABUSE),

Powered by Google App Engine
This is Rietveld 408576698