Chromium Code Reviews| 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 |
| }; |