Index: chrome/common/pref_names.cc |
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc |
index cc4c055f27e1f8470c87d14a495f0e2781ff9344..3769ea58ebeee65453bafcf2a253c961d5287e68 100644 |
--- a/chrome/common/pref_names.cc |
+++ b/chrome/common/pref_names.cc |
@@ -75,6 +75,13 @@ const char kDefaultApps[] = "default_apps"; |
// handling code reads local state, while extension APIs use profile pref. |
const char kDisableScreenshots[] = "disable_screenshots"; |
+// Prevents certain types of downloads based on integre value: |
+// 0 - No special restrictions (default) |
+// 1 - Block dangerous downloads |
+// 2 - Block potentially dangerous downloads |
+// 3 - Block all downloads |
+const char kDownloadRestrictions[] = "download_restrictions"; |
jochen (gone - plz use gerrit)
2017/06/14 08:16:49
s/integre/integer/
can you also add a comment say
MAD
2017/06/14 17:50:21
Done.
|
+ |
// If set to true profiles are created in ephemeral mode and do not store their |
// data in the profile folder on disk but only in memory. |
const char kForceEphemeralProfiles[] = "profile.ephemeral_mode"; |