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

Unified Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2267653002: Add ExternalStorageReadOnly profile value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add to policy-to-preference map. Created 4 years, 4 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/browser/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index 9f074db38351e96ec3bcdcbd319a1766eb265d79..c1c1f49e07ec32fd7a8be7845011a62ceb6e61ce 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -442,6 +442,9 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kExternalStorageDisabled,
prefs::kExternalStorageDisabled,
base::Value::TYPE_BOOLEAN },
+ { key::kExternalStorageReadOnly,
+ prefs::kExternalStorageReadOnly,
+ base::Value::TYPE_BOOLEAN },
{ key::kAudioOutputAllowed,
chromeos::prefs::kAudioOutputAllowed,
base::Value::TYPE_BOOLEAN },
« no previous file with comments | « no previous file | chrome/test/data/policy/policy_test_cases.json » ('j') | components/policy/resources/policy_templates.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698