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

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

Issue 10873085: Implement two new policies to control muting the audio I/O. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 8 years, 3 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
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 1750 matching lines...) Expand 10 before | Expand all | Expand 10 after
1761 const char kDeviceLocation[] = "device_status.location"; 1761 const char kDeviceLocation[] = "device_status.location";
1762 1762
1763 // A string that is used to store first-time sync startup after once sync is 1763 // A string that is used to store first-time sync startup after once sync is
1764 // disabled. This will be refreshed every sign-in. 1764 // disabled. This will be refreshed every sign-in.
1765 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token"; 1765 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token";
1766 1766
1767 // A pref holding the value of the policy used to disable mounting of external 1767 // A pref holding the value of the policy used to disable mounting of external
1768 // storage for the user. 1768 // storage for the user.
1769 const char kExternalStorageDisabled[] = "hardware.external_storage_disabled"; 1769 const char kExternalStorageDisabled[] = "hardware.external_storage_disabled";
1770 1770
1771 // A pref holding the value of the policy used to disable playing audio on
1772 // ChromeOS devices.
1773 const char kAudioOutputEnabled[] = "hardware.audio_output_enabled";
1774
1775 // A pref holding the value of the policy used to disable capturing audio on
1776 // ChromeOS devices.
1777 const char kAudioCaptureEnabled[] = "hardware.audio_capture_enabled";
1778
1771 // A dictionary that maps usernames to wallpaper properties. 1779 // A dictionary that maps usernames to wallpaper properties.
1772 const char kUsersWallpaperInfo[] = "user_wallpaper_info"; 1780 const char kUsersWallpaperInfo[] = "user_wallpaper_info";
1773 #endif 1781 #endif
1774 1782
1775 // Whether there is a Flash version installed that supports clearing LSO data. 1783 // Whether there is a Flash version installed that supports clearing LSO data.
1776 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; 1784 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled";
1777 1785
1778 // Whether we should show Pepper Flash-specific settings. 1786 // Whether we should show Pepper Flash-specific settings.
1779 const char kPepperFlashSettingsEnabled[] = 1787 const char kPepperFlashSettingsEnabled[] =
1780 "browser.pepper_flash_settings_enabled"; 1788 "browser.pepper_flash_settings_enabled";
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1989 1997
1990 // Counts how many more times the 'profile on a network share' warning should be 1998 // Counts how many more times the 'profile on a network share' warning should be
1991 // shown to the user before the next silence period. 1999 // shown to the user before the next silence period.
1992 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 2000 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
1993 // Tracks the time of the last shown warning. Used to reset 2001 // Tracks the time of the last shown warning. Used to reset
1994 // |network_profile.warnings_left| after a silence period. 2002 // |network_profile.warnings_left| after a silence period.
1995 const char kNetworkProfileLastWarningTime[] = 2003 const char kNetworkProfileLastWarningTime[] =
1996 "network_profile.last_warning_time"; 2004 "network_profile.last_warning_time";
1997 2005
1998 } // namespace prefs 2006 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698