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

Unified Diff: chrome/common/safe_browsing/download_protection_util.cc

Issue 1929693003: Populate download_file_types proto and filter it for each platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@file_type_polices2
Patch Set: fix chromeos detection again Created 4 years, 7 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: chrome/common/safe_browsing/download_protection_util.cc
diff --git a/chrome/common/safe_browsing/download_protection_util.cc b/chrome/common/safe_browsing/download_protection_util.cc
index 381ae51dd8d8414d643fece2889cc9f8990b908f..32a9c08230b425f4bc3c0c56a7724260cf84aaf2 100644
--- a/chrome/common/safe_browsing/download_protection_util.cc
+++ b/chrome/common/safe_browsing/download_protection_util.cc
@@ -282,6 +282,9 @@ enum SBClientDownloadExtensions {
EXTENSION_NDIF,
EXTENSION_UDIF,
EXTENSION_TOAST,
+ // NOTE! If you modify this list, you should also update
Lei Zhang 2016/05/09 23:28:01 Is is possible to enforce this with static_assert?
Nathan Parker 2016/05/10 17:33:51 Done. I'm not actually comparing this list to the
+ // chrome/browser/resources/safe_browsing/download_file_types.asciipb
+
// New values go above this one.
EXTENSION_MAX
};

Powered by Google App Engine
This is Rietveld 408576698