OLD | NEW |
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 2007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2018 | 2018 |
2019 // A List pref that contains daily totals of the size of all HTTP content that | 2019 // A List pref that contains daily totals of the size of all HTTP content that |
2020 // has been received from the network. | 2020 // has been received from the network. |
2021 const char kDailyHttpReceivedContentLength[] = | 2021 const char kDailyHttpReceivedContentLength[] = |
2022 "data_reduction.daily_received_length"; | 2022 "data_reduction.daily_received_length"; |
2023 | 2023 |
2024 // An int64 pref that contains an internal representation of midnight on the | 2024 // An int64 pref that contains an internal representation of midnight on the |
2025 // date of the last update to |kDailyHttp{Original,Received}ContentLength|. | 2025 // date of the last update to |kDailyHttp{Original,Received}ContentLength|. |
2026 const char kDailyHttpContentLengthLastUpdateDate[] = | 2026 const char kDailyHttpContentLengthLastUpdateDate[] = |
2027 "data_reduction.last_update_date"; | 2027 "data_reduction.last_update_date"; |
2028 #endif | 2028 #endif // defined(OS_ANDROID) || defined(OS_IOS) |
2029 | 2029 |
2030 // A pref holding the value of the policy used to disable capturing audio on | 2030 // A pref holding the value of the policy used to explicitly allow or deny |
2031 // ChromeOS devices. | 2031 // access to audio capture devices. When enabled or not set, the user is |
| 2032 // prompted for device access. When disabled, access to audio capture devices |
| 2033 // is not allowed and no prompt will be shown. |
| 2034 // See also kAudioCaptureAllowedUrls. |
2032 const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled"; | 2035 const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled"; |
| 2036 // Holds URL patterns that specify URLs that will be granted access to audio |
| 2037 // capture devices without prompt. NOTE: This whitelist is currently only |
| 2038 // supported when running in kiosk mode. |
| 2039 // TODO(tommi): Update comment when this is supported for all modes. |
| 2040 const char kAudioCaptureAllowedUrls[] = "hardware.audio_capture_allowed_urls"; |
2033 | 2041 |
2034 // A pref holding the value of the policy used to disable capturing audio on | 2042 // A pref holding the value of the policy used to explicitly allow or deny |
2035 // ChromeOS devices. | 2043 // access to video capture devices. When enabled or not set, the user is |
| 2044 // prompted for device access. When disabled, access to video capture devices |
| 2045 // is not allowed and no prompt will be shown. |
2036 const char kVideoCaptureAllowed[] = "hardware.video_capture_enabled"; | 2046 const char kVideoCaptureAllowed[] = "hardware.video_capture_enabled"; |
| 2047 // Holds URL patterns that specify URLs that will be granted access to video |
| 2048 // capture devices without prompt. NOTE: This whitelist is currently only |
| 2049 // supported when running in kiosk mode. |
| 2050 // TODO(tommi): Update comment when this is supported for all modes. |
| 2051 const char kVideoCaptureAllowedUrls[] = "hardware.video_capture_allowed_urls"; |
2037 | 2052 |
2038 #if defined(OS_CHROMEOS) | 2053 #if defined(OS_CHROMEOS) |
2039 // Dictionary for transient storage of settings that should go into device | 2054 // Dictionary for transient storage of settings that should go into device |
2040 // settings storage before owner has been assigned. | 2055 // settings storage before owner has been assigned. |
2041 const char kDeviceSettingsCache[] = "signed_settings_cache"; | 2056 const char kDeviceSettingsCache[] = "signed_settings_cache"; |
2042 | 2057 |
2043 // The hardware keyboard layout of the device. This should look like | 2058 // The hardware keyboard layout of the device. This should look like |
2044 // "xkb:us::eng". | 2059 // "xkb:us::eng". |
2045 const char kHardwareKeyboardLayout[] = "intl.hardware_keyboard"; | 2060 const char kHardwareKeyboardLayout[] = "intl.hardware_keyboard"; |
2046 | 2061 |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2471 // ping and the time of the last ping. | 2486 // ping and the time of the last ping. |
2472 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; | 2487 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; |
2473 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; | 2488 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; |
2474 | 2489 |
2475 // A string pref for storing the salt used to compute the pepper device ID. | 2490 // A string pref for storing the salt used to compute the pepper device ID. |
2476 const char kDRMSalt[] = "settings.privacy.drm_salt"; | 2491 const char kDRMSalt[] = "settings.privacy.drm_salt"; |
2477 // A boolean pref that enables the (private) pepper GetDeviceID() call. | 2492 // A boolean pref that enables the (private) pepper GetDeviceID() call. |
2478 const char kEnableDRM[] = "settings.privacy.drm_enabled"; | 2493 const char kEnableDRM[] = "settings.privacy.drm_enabled"; |
2479 | 2494 |
2480 } // namespace prefs | 2495 } // namespace prefs |
OLD | NEW |