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

Unified Diff: chrome/common/pref_names.cc

Issue 10697097: Add a policy to disable mounting of external storage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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 04081ebf1b3177f9a408bb66d2bac816645a9c74..7da80ffb50386409c708cb4c5768f99890434063 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1767,6 +1767,10 @@ const char kDeviceLocation[] = "device_status.location";
// A string that is used to store first-time sync startup after once sync is
// disabled. This will be refreshed every sign-in.
const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token";
+
+// A pref holding the value of the policy used to disable moutning of external
Mattias Nissler (ping if slow) 2012/07/09 09:43:01 s/moutning/mounting/
pastarmovj 2012/07/11 01:13:57 Done.
+// storage for the user.
+const char kExternalStorageDisabled[] = "hardware.extrenal_storage_disabled";
Mattias Nissler (ping if slow) 2012/07/09 09:43:01 s/extrenal/external/
pastarmovj 2012/07/11 01:13:57 Done.
#endif
// Whether there is a Flash version installed that supports clearing LSO data.

Powered by Google App Engine
This is Rietveld 408576698