Chromium Code Reviews| 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, this works in conjunction |
| 2032 // with the kAudioCaptureAllowedUrls policy list. | |
|
Mattias Nissler (ping if slow)
2013/05/28 08:11:39
Is that true? Looking at the code kAudioCaptureAll
tommi (sloooow) - chröme
2013/05/28 10:19:43
Thanks for catching. This was true a few patch se
| |
| 2032 const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled"; | 2033 const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled"; |
| 2034 // Holds the whitelisted URL patterns that we refer to when kAudioCaptureAllowed | |
| 2035 // is enabled. | |
| 2036 const char kAudioCaptureAllowedUrls[] = "hardware.audio_capture_allowed_urls"; | |
| 2033 | 2037 |
| 2034 // A pref holding the value of the policy used to disable capturing audio on | 2038 // A pref holding the value of the policy used to explicitly allow or deny |
| 2035 // ChromeOS devices. | 2039 // access to video capture devices. When enabled, this works in conjunction |
| 2040 // with the kVideoCaptureAllowedUrls policy list. | |
| 2036 const char kVideoCaptureAllowed[] = "hardware.video_capture_enabled"; | 2041 const char kVideoCaptureAllowed[] = "hardware.video_capture_enabled"; |
| 2042 // Holds the whitelisted URL patterns that we refer to when kVideoCaptureAllowed | |
| 2043 // is enabled. | |
| 2044 const char kVideoCaptureAllowedUrls[] = "hardware.video_capture_allowed_urls"; | |
| 2037 | 2045 |
| 2038 #if defined(OS_CHROMEOS) | 2046 #if defined(OS_CHROMEOS) |
| 2039 // Dictionary for transient storage of settings that should go into device | 2047 // Dictionary for transient storage of settings that should go into device |
| 2040 // settings storage before owner has been assigned. | 2048 // settings storage before owner has been assigned. |
| 2041 const char kDeviceSettingsCache[] = "signed_settings_cache"; | 2049 const char kDeviceSettingsCache[] = "signed_settings_cache"; |
| 2042 | 2050 |
| 2043 // The hardware keyboard layout of the device. This should look like | 2051 // The hardware keyboard layout of the device. This should look like |
| 2044 // "xkb:us::eng". | 2052 // "xkb:us::eng". |
| 2045 const char kHardwareKeyboardLayout[] = "intl.hardware_keyboard"; | 2053 const char kHardwareKeyboardLayout[] = "intl.hardware_keyboard"; |
| 2046 | 2054 |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2471 // ping and the time of the last ping. | 2479 // ping and the time of the last ping. |
| 2472 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; | 2480 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; |
| 2473 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; | 2481 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; |
| 2474 | 2482 |
| 2475 // A string pref for storing the salt used to compute the pepper device ID. | 2483 // A string pref for storing the salt used to compute the pepper device ID. |
| 2476 const char kDRMSalt[] = "settings.privacy.drm_salt"; | 2484 const char kDRMSalt[] = "settings.privacy.drm_salt"; |
| 2477 // A boolean pref that enables the (private) pepper GetDeviceID() call. | 2485 // A boolean pref that enables the (private) pepper GetDeviceID() call. |
| 2478 const char kEnableDRM[] = "settings.privacy.drm_enabled"; | 2486 const char kEnableDRM[] = "settings.privacy.drm_enabled"; |
| 2479 | 2487 |
| 2480 } // namespace prefs | 2488 } // namespace prefs |
| OLD | NEW |