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/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/common/features.h" | 9 #include "chrome/common/features.h" |
10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1397 // manager window to restore on startup. | 1397 // manager window to restore on startup. |
1398 const char kTaskManagerWindowPlacement[] = "task_manager.window_placement"; | 1398 const char kTaskManagerWindowPlacement[] = "task_manager.window_placement"; |
1399 | 1399 |
1400 // The most recent stored column visibility of the task manager table to be | 1400 // The most recent stored column visibility of the task manager table to be |
1401 // restored on startup. | 1401 // restored on startup. |
1402 const char kTaskManagerColumnVisibility[] = "task_manager.column_visibility"; | 1402 const char kTaskManagerColumnVisibility[] = "task_manager.column_visibility"; |
1403 | 1403 |
1404 // A boolean indicating if ending processes are enabled or disabled by policy. | 1404 // A boolean indicating if ending processes are enabled or disabled by policy. |
1405 const char kTaskManagerEndProcessEnabled[] = "task_manager.end_process_enabled"; | 1405 const char kTaskManagerEndProcessEnabled[] = "task_manager.end_process_enabled"; |
1406 | 1406 |
1407 #if defined(OS_CHROMEOS) | |
1408 // Dictionary indicating current network bandwidth throttling settings. | |
1409 // Contains a boolean (is throttling enabled) and two integers (upload rate | |
1410 // and download rate in kbits/s to throttle to) | |
1411 const char kNetworkThrottlingEnabled[] = "net.throttling_enabled"; | |
1412 #endif | |
1413 | |
1414 // A collection of position, size, and other data relating to app windows to | 1407 // A collection of position, size, and other data relating to app windows to |
1415 // restore on startup. | 1408 // restore on startup. |
1416 const char kAppWindowPlacement[] = "browser.app_window_placement"; | 1409 const char kAppWindowPlacement[] = "browser.app_window_placement"; |
1417 | 1410 |
1418 // String which specifies where to download files to by default. | 1411 // String which specifies where to download files to by default. |
1419 const char kDownloadDefaultDirectory[] = "download.default_directory"; | 1412 const char kDownloadDefaultDirectory[] = "download.default_directory"; |
1420 | 1413 |
1421 // Boolean that records if the download directory was changed by an | 1414 // Boolean that records if the download directory was changed by an |
1422 // upgrade a unsafe location to a safe location. | 1415 // upgrade a unsafe location to a safe location. |
1423 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; | 1416 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1865 const char kLogoutStartedLast[] = "chromeos.logout-started"; | 1858 const char kLogoutStartedLast[] = "chromeos.logout-started"; |
1866 | 1859 |
1867 // The role of the device in the OOBE bootstrapping process. If it's a "slave" | 1860 // The role of the device in the OOBE bootstrapping process. If it's a "slave" |
1868 // device, then it's eligible to be enrolled by a "master" device (which could | 1861 // device, then it's eligible to be enrolled by a "master" device (which could |
1869 // be an Android app). | 1862 // be an Android app). |
1870 const char kIsBootstrappingSlave[] = "is_oobe_bootstrapping_slave"; | 1863 const char kIsBootstrappingSlave[] = "is_oobe_bootstrapping_slave"; |
1871 | 1864 |
1872 // A preference that controlles Android status reporting. | 1865 // A preference that controlles Android status reporting. |
1873 const char kReportArcStatusEnabled[] = "arc.status_reporting_enabled"; | 1866 const char kReportArcStatusEnabled[] = "arc.status_reporting_enabled"; |
1874 | 1867 |
| 1868 // Dictionary indicating current network bandwidth throttling settings. |
| 1869 // Contains a boolean (is throttling enabled) and two integers (upload rate |
| 1870 // and download rate in kbits/s to throttle to) |
| 1871 const char kNetworkThrottlingEnabled[] = "net.throttling_enabled"; |
1875 #endif // defined(OS_CHROMEOS) | 1872 #endif // defined(OS_CHROMEOS) |
1876 | 1873 |
1877 // Whether there is a Flash version installed that supports clearing LSO data. | 1874 // Whether there is a Flash version installed that supports clearing LSO data. |
1878 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; | 1875 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; |
1879 | 1876 |
1880 // Whether we should show Pepper Flash-specific settings. | 1877 // Whether we should show Pepper Flash-specific settings. |
1881 const char kPepperFlashSettingsEnabled[] = | 1878 const char kPepperFlashSettingsEnabled[] = |
1882 "browser.pepper_flash_settings_enabled"; | 1879 "browser.pepper_flash_settings_enabled"; |
1883 | 1880 |
1884 // String which specifies where to store the disk cache. | 1881 // String which specifies where to store the disk cache. |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2291 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2288 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
2292 | 2289 |
2293 // A list of origin trial features to disable by policy. | 2290 // A list of origin trial features to disable by policy. |
2294 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2291 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
2295 | 2292 |
2296 // Policy that indicates the state of updates for the binary components. | 2293 // Policy that indicates the state of updates for the binary components. |
2297 const char kComponentUpdatesEnabled[] = | 2294 const char kComponentUpdatesEnabled[] = |
2298 "component_updates.component_updates_enabled"; | 2295 "component_updates.component_updates_enabled"; |
2299 | 2296 |
2300 } // namespace prefs | 2297 } // namespace prefs |
OLD | NEW |