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 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1382 // manager window to restore on startup. | 1382 // manager window to restore on startup. |
1383 const char kTaskManagerWindowPlacement[] = "task_manager.window_placement"; | 1383 const char kTaskManagerWindowPlacement[] = "task_manager.window_placement"; |
1384 | 1384 |
1385 // The most recent stored column visibility of the task manager table to be | 1385 // The most recent stored column visibility of the task manager table to be |
1386 // restored on startup. | 1386 // restored on startup. |
1387 const char kTaskManagerColumnVisibility[] = "task_manager.column_visibility"; | 1387 const char kTaskManagerColumnVisibility[] = "task_manager.column_visibility"; |
1388 | 1388 |
1389 // A boolean indicating if ending processes are enabled or disabled by policy. | 1389 // A boolean indicating if ending processes are enabled or disabled by policy. |
1390 const char kTaskManagerEndProcessEnabled[] = "task_manager.end_process_enabled"; | 1390 const char kTaskManagerEndProcessEnabled[] = "task_manager.end_process_enabled"; |
1391 | 1391 |
1392 #if defined(OS_CHROMEOS) | |
1393 // Dictionary indicating current network bandwidth throttling settings. | |
1394 // Contains a boolean (is throttling enabled) and two integers (upload rate | |
1395 // and download rate in kbits/s to throttle to) | |
1396 const char kNetworkThrottlingEnabled[] = "net.throttling_enabled"; | |
1397 #endif | |
1398 | |
1392 // A collection of position, size, and other data relating to app windows to | 1399 // A collection of position, size, and other data relating to app windows to |
1393 // restore on startup. | 1400 // restore on startup. |
1394 const char kAppWindowPlacement[] = "browser.app_window_placement"; | 1401 const char kAppWindowPlacement[] = "browser.app_window_placement"; |
1395 | 1402 |
1396 // String which specifies where to download files to by default. | 1403 // String which specifies where to download files to by default. |
1397 const char kDownloadDefaultDirectory[] = "download.default_directory"; | 1404 const char kDownloadDefaultDirectory[] = "download.default_directory"; |
1398 | 1405 |
1399 // Boolean that records if the download directory was changed by an | 1406 // Boolean that records if the download directory was changed by an |
1400 // upgrade a unsafe location to a safe location. | 1407 // upgrade a unsafe location to a safe location. |
1401 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; | 1408 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1841 // System uptime, when last logout started. | 1848 // System uptime, when last logout started. |
1842 // This is saved to file and cleared after chrome process starts. | 1849 // This is saved to file and cleared after chrome process starts. |
1843 const char kLogoutStartedLast[] = "chromeos.logout-started"; | 1850 const char kLogoutStartedLast[] = "chromeos.logout-started"; |
1844 | 1851 |
1845 // The role of the device in the OOBE bootstrapping process. If it's a "slave" | 1852 // The role of the device in the OOBE bootstrapping process. If it's a "slave" |
1846 // device, then it's eligible to be enrolled by a "master" device (which could | 1853 // device, then it's eligible to be enrolled by a "master" device (which could |
1847 // be an Android app). | 1854 // be an Android app). |
1848 const char kIsBootstrappingSlave[] = "is_oobe_bootstrapping_slave"; | 1855 const char kIsBootstrappingSlave[] = "is_oobe_bootstrapping_slave"; |
1849 | 1856 |
1850 // A preference that controlles Android status reporting. | 1857 // A preference that controlles Android status reporting. |
1851 const char kReportArcStatusEnabled[] = "arc.status_reporting_enabled"; | 1858 const char kReportArcStatusEnabled[] = "arc.status_reporting_enabled"; |
gab
2016/11/05 01:19:40
It should be here, to match header file re-use the
| |
1852 | 1859 |
1853 #endif // defined(OS_CHROMEOS) | 1860 #endif // defined(OS_CHROMEOS) |
1854 | 1861 |
1855 // Whether there is a Flash version installed that supports clearing LSO data. | 1862 // Whether there is a Flash version installed that supports clearing LSO data. |
1856 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; | 1863 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; |
1857 | 1864 |
1858 // Whether we should show Pepper Flash-specific settings. | 1865 // Whether we should show Pepper Flash-specific settings. |
1859 const char kPepperFlashSettingsEnabled[] = | 1866 const char kPepperFlashSettingsEnabled[] = |
1860 "browser.pepper_flash_settings_enabled"; | 1867 "browser.pepper_flash_settings_enabled"; |
1861 | 1868 |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2269 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2276 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
2270 | 2277 |
2271 // A list of origin trial features to disable by policy. | 2278 // A list of origin trial features to disable by policy. |
2272 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2279 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
2273 | 2280 |
2274 // Policy that indicates the state of updates for the binary components. | 2281 // Policy that indicates the state of updates for the binary components. |
2275 const char kComponentUpdatesEnabled[] = | 2282 const char kComponentUpdatesEnabled[] = |
2276 "component_updates.component_updates_enabled"; | 2283 "component_updates.component_updates_enabled"; |
2277 | 2284 |
2278 } // namespace prefs | 2285 } // namespace prefs |
OLD | NEW |