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

Side by Side Diff: chrome/common/pref_names.cc

Issue 2201023002: Change access mode of disk devices when mounting based on config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move a helper function out of the class. 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1732 const char kDeviceActivityTimes[] = "device_status.activity_times"; 1732 const char kDeviceActivityTimes[] = "device_status.activity_times";
1733 1733
1734 // A pref holding the last known location when device location reporting is 1734 // A pref holding the last known location when device location reporting is
1735 // enabled. 1735 // enabled.
1736 const char kDeviceLocation[] = "device_status.location"; 1736 const char kDeviceLocation[] = "device_status.location";
1737 1737
1738 // A pref holding the value of the policy used to disable mounting of external 1738 // A pref holding the value of the policy used to disable mounting of external
1739 // storage for the user. 1739 // storage for the user.
1740 const char kExternalStorageDisabled[] = "hardware.external_storage_disabled"; 1740 const char kExternalStorageDisabled[] = "hardware.external_storage_disabled";
1741 1741
1742 // A pref holding the value of the policy used to limit mounting of external
1743 // storage to read-only mode for the user.
1744 const char kExternalStorageReadOnly[] = "hardware.external_storage_read_only";
1745
1742 // Copy of owner swap mouse buttons option to use on login screen. 1746 // Copy of owner swap mouse buttons option to use on login screen.
1743 const char kOwnerPrimaryMouseButtonRight[] = "owner.mouse.primary_right"; 1747 const char kOwnerPrimaryMouseButtonRight[] = "owner.mouse.primary_right";
1744 1748
1745 // Copy of owner tap-to-click option to use on login screen. 1749 // Copy of owner tap-to-click option to use on login screen.
1746 const char kOwnerTapToClickEnabled[] = "owner.touchpad.enable_tap_to_click"; 1750 const char kOwnerTapToClickEnabled[] = "owner.touchpad.enable_tap_to_click";
1747 1751
1748 // The length of device uptime after which an automatic reboot is scheduled, 1752 // The length of device uptime after which an automatic reboot is scheduled,
1749 // expressed in seconds. 1753 // expressed in seconds.
1750 const char kUptimeLimit[] = "automatic_reboot.uptime_limit"; 1754 const char kUptimeLimit[] = "automatic_reboot.uptime_limit";
1751 1755
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
2244 #endif 2248 #endif
2245 2249
2246 // The base64-encoded representation of the public key to use to validate origin 2250 // The base64-encoded representation of the public key to use to validate origin
2247 // trial token signatures. 2251 // trial token signatures.
2248 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2252 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2249 2253
2250 // A list of origin trial features to disable by policy. 2254 // A list of origin trial features to disable by policy.
2251 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2255 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2252 2256
2253 } // namespace prefs 2257 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698