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

Side by Side 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: Rebased to ToT. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/functional/policy_test_cases.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 // them to the policy server. 1771 // them to the policy server.
1772 const char kDeviceActivityTimes[] = "device_status.activity_times"; 1772 const char kDeviceActivityTimes[] = "device_status.activity_times";
1773 1773
1774 // A pref holding the last known location when device location reporting is 1774 // A pref holding the last known location when device location reporting is
1775 // enabled. 1775 // enabled.
1776 const char kDeviceLocation[] = "device_status.location"; 1776 const char kDeviceLocation[] = "device_status.location";
1777 1777
1778 // A string that is used to store first-time sync startup after once sync is 1778 // A string that is used to store first-time sync startup after once sync is
1779 // disabled. This will be refreshed every sign-in. 1779 // disabled. This will be refreshed every sign-in.
1780 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token"; 1780 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token";
1781
1782 // A pref holding the value of the policy used to disable mounting of external
1783 // storage for the user.
1784 const char kExternalStorageDisabled[] = "hardware.external_storage_disabled";
1781 #endif 1785 #endif
1782 1786
1783 // Whether there is a Flash version installed that supports clearing LSO data. 1787 // Whether there is a Flash version installed that supports clearing LSO data.
1784 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; 1788 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled";
1785 1789
1786 // Whether we should show Pepper Flash-specific settings. 1790 // Whether we should show Pepper Flash-specific settings.
1787 const char kPepperFlashSettingsEnabled[] = 1791 const char kPepperFlashSettingsEnabled[] =
1788 "browser.pepper_flash_settings_enabled"; 1792 "browser.pepper_flash_settings_enabled";
1789 1793
1790 // String which specifies where to store the disk cache. 1794 // String which specifies where to store the disk cache.
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1991 const char kNetworkProfileLastWarningTime[] = 1995 const char kNetworkProfileLastWarningTime[] =
1992 "network_profile.last_warning_time"; 1996 "network_profile.last_warning_time";
1993 1997
1994 #if defined(OS_MACOSX) 1998 #if defined(OS_MACOSX)
1995 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. 1999 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5.
1996 const char kMacLeopardObsoleteInfobarLastShown[] = 2000 const char kMacLeopardObsoleteInfobarLastShown[] =
1997 "mac_105_obsolete_infobar_last_shown"; 2001 "mac_105_obsolete_infobar_last_shown";
1998 #endif // defined(OS_MACOSX) 2002 #endif // defined(OS_MACOSX)
1999 2003
2000 } // namespace prefs 2004 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/functional/policy_test_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698