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

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

Issue 15738004: Add a policy list for access to capture devices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change capture policy values to be per-profile. Created 7 years, 7 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 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 1992 matching lines...) Expand 10 before | Expand all | Expand 10 after
2003 2003
2004 // A List pref that contains daily totals of the size of all HTTP content that 2004 // A List pref that contains daily totals of the size of all HTTP content that
2005 // has been received from the network. 2005 // has been received from the network.
2006 const char kDailyHttpReceivedContentLength[] = 2006 const char kDailyHttpReceivedContentLength[] =
2007 "data_reduction.daily_received_length"; 2007 "data_reduction.daily_received_length";
2008 2008
2009 // An int64 pref that contains an internal representation of midnight on the 2009 // An int64 pref that contains an internal representation of midnight on the
2010 // date of the last update to |kDailyHttp{Original,Received}ContentLength|. 2010 // date of the last update to |kDailyHttp{Original,Received}ContentLength|.
2011 const char kDailyHttpContentLengthLastUpdateDate[] = 2011 const char kDailyHttpContentLengthLastUpdateDate[] =
2012 "data_reduction.last_update_date"; 2012 "data_reduction.last_update_date";
2013 #endif 2013 #endif // defined(OS_ANDROID) || defined(OS_IOS)
2014 2014
2015 // A pref holding the value of the policy used to disable capturing audio on 2015 // A pref holding the value of the policy used to explicitly allow or deny
2016 // ChromeOS devices. 2016 // access to audio capture devices. When enabled, this works in conjunction
2017 // with the kAudioCaptureAllowedUrls policy list.
2017 const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled"; 2018 const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled";
2019 // Holds the whitelisted URL patterns that we refer to when kAudioCaptureAllowed
2020 // is enabled.
2021 const char kAudioCaptureAllowedUrls[] = "hardware.audio_capture_allowed_urls";
2018 2022
2019 // A pref holding the value of the policy used to disable capturing audio on 2023 // A pref holding the value of the policy used to explicitly allow or deny
2020 // ChromeOS devices. 2024 // access to video capture devices. When enabled, this works in conjunction
2025 // with the kVideoCaptureAllowedUrls policy list.
2021 const char kVideoCaptureAllowed[] = "hardware.video_capture_enabled"; 2026 const char kVideoCaptureAllowed[] = "hardware.video_capture_enabled";
2027 // Holds the whitelisted URL patterns that we refer to when kVideoCaptureAllowed
2028 // is enabled.
2029 const char kVideoCaptureAllowedUrls[] = "hardware.video_capture_allowed_urls";
2022 2030
2023 #if defined(OS_CHROMEOS) 2031 #if defined(OS_CHROMEOS)
2024 // Dictionary for transient storage of settings that should go into device 2032 // Dictionary for transient storage of settings that should go into device
2025 // settings storage before owner has been assigned. 2033 // settings storage before owner has been assigned.
2026 const char kDeviceSettingsCache[] = "signed_settings_cache"; 2034 const char kDeviceSettingsCache[] = "signed_settings_cache";
2027 2035
2028 // The hardware keyboard layout of the device. This should look like 2036 // The hardware keyboard layout of the device. This should look like
2029 // "xkb:us::eng". 2037 // "xkb:us::eng".
2030 const char kHardwareKeyboardLayout[] = "intl.hardware_keyboard"; 2038 const char kHardwareKeyboardLayout[] = "intl.hardware_keyboard";
2031 2039
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
2456 // ping and the time of the last ping. 2464 // ping and the time of the last ping.
2457 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; 2465 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count";
2458 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; 2466 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping";
2459 2467
2460 // A string pref for storing the salt used to compute the pepper device ID. 2468 // A string pref for storing the salt used to compute the pepper device ID.
2461 const char kDRMSalt[] = "settings.privacy.drm_salt"; 2469 const char kDRMSalt[] = "settings.privacy.drm_salt";
2462 // A boolean pref that enables the (private) pepper GetDeviceID() call. 2470 // A boolean pref that enables the (private) pepper GetDeviceID() call.
2463 const char kEnableDRM[] = "settings.privacy.drm_enabled"; 2471 const char kEnableDRM[] = "settings.privacy.drm_enabled";
2464 2472
2465 } // namespace prefs 2473 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698