| Index: chrome/common/pref_names.cc
|
| diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
| index 6377621ee4e2e9b5df622b4745ee40d6757afddf..2e36e416e0f60d95b4d657b1167874976a28b958 100644
|
| --- a/chrome/common/pref_names.cc
|
| +++ b/chrome/common/pref_names.cc
|
| @@ -58,6 +58,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 - Allow all downloads (default)
|
| +// 1 - Disable Safe Browsing dangerous files
|
| +// 2 - Disable Safe Browsing potentially dangerous files
|
| +// 3 - Disable all downloads
|
| +const char kDownloadRestrictions[] = "download_restrictions";
|
| +
|
| // 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";
|
|
|