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

Unified Diff: chrome/common/pref_names.cc

Issue 2943763002: Add a new group policy to disable safe browsing for files downloaded from trusted sources. (Closed)
Patch Set: D'Ho! Created 3 years, 6 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/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 5385bdb974add5212b6885e8d05c93027ba0e837..13280434a6e8def891f99e9b1ff539da17f96628 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -70,6 +70,10 @@ const char kChildAccountStatusKnown[] = "child_account_status_known";
// Defaults apps are installed only when creating a new profile.
const char kDefaultApps[] = "default_apps";
+// Disable SafeBrowsing checks for files coming from trusted URLs when false.
+const char kSafeBrowsingForTrustedSourcesEnabled[] =
+ "safebrowsing_for_trusted_sources_enabled";
+
// Disables screenshot accelerators and extension APIs.
// This setting resides both in profile prefs and local state. Accelerator
// handling code reads local state, while extension APIs use profile pref.
@@ -1508,6 +1512,9 @@ const char kSaveFileDefaultDirectory[] = "savefile.default_directory";
// the chrome/browser/download/save_package.h for the possible values.
const char kSaveFileType[] = "savefile.type";
+// A list of download sources that can be trusted, e.g., enterprise intranet.
+const char kTrustedDownloadSources[] = "trusted_download_sources";
+
// String which specifies the last directory that was chosen for uploading
// or opening a file.
const char kSelectFileLastDirectory[] = "selectfile.last_directory";

Powered by Google App Engine
This is Rietveld 408576698