| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 namespace prefs { | 7 namespace prefs { |
| 8 | 8 |
| 9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
| 10 // These are attached to the user profile | 10 // These are attached to the user profile |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 "default_search_provider.prepopulate_id"; | 214 "default_search_provider.prepopulate_id"; |
| 215 | 215 |
| 216 // The dictionary key used when the default search providers are given | 216 // The dictionary key used when the default search providers are given |
| 217 // in the preferences file. Normally they are copied from the master | 217 // in the preferences file. Normally they are copied from the master |
| 218 // preferences file. | 218 // preferences file. |
| 219 const char kSearchProviderOverrides[] = "search_provider_overrides"; | 219 const char kSearchProviderOverrides[] = "search_provider_overrides"; |
| 220 // The format version for the dictionary above. | 220 // The format version for the dictionary above. |
| 221 const char kSearchProviderOverridesVersion[] = | 221 const char kSearchProviderOverridesVersion[] = |
| 222 "search_provider_overrides_version"; | 222 "search_provider_overrides_version"; |
| 223 | 223 |
| 224 // A unique identifier for each Download that persists across sessions. |
| 225 const char kNextDownloadId[] = "download.next_id"; |
| 226 |
| 224 // Boolean which specifies whether we should ask the user if we should download | 227 // Boolean which specifies whether we should ask the user if we should download |
| 225 // a file (true) or just download it automatically. | 228 // a file (true) or just download it automatically. |
| 226 const char kPromptForDownload[] = "download.prompt_for_download"; | 229 const char kPromptForDownload[] = "download.prompt_for_download"; |
| 227 | 230 |
| 228 // A boolean pref set to true if we're using Link Doctor error pages. | 231 // A boolean pref set to true if we're using Link Doctor error pages. |
| 229 const char kAlternateErrorPagesEnabled[] = "alternate_error_pages.enabled"; | 232 const char kAlternateErrorPagesEnabled[] = "alternate_error_pages.enabled"; |
| 230 | 233 |
| 231 // OBSOLETE: new pref now stored with user prefs instead of profile, as | 234 // OBSOLETE: new pref now stored with user prefs instead of profile, as |
| 232 // kDnsPrefetchingStartupList. | 235 // kDnsPrefetchingStartupList. |
| 233 const char kDnsStartupPrefetchList[] = "StartupDNSPrefetchList"; | 236 const char kDnsStartupPrefetchList[] = "StartupDNSPrefetchList"; |
| (...skipping 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 // Whether user-specified handlers for protocols and content types can be | 1386 // Whether user-specified handlers for protocols and content types can be |
| 1384 // specified. | 1387 // specified. |
| 1385 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1388 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
| 1386 | 1389 |
| 1387 // Integers that specify the policy refresh rate for device- and user-policy in | 1390 // Integers that specify the policy refresh rate for device- and user-policy in |
| 1388 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1391 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
| 1389 // by the cloud policy subsystem. | 1392 // by the cloud policy subsystem. |
| 1390 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1393 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
| 1391 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1394 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
| 1392 } // namespace prefs | 1395 } // namespace prefs |
| OLD | NEW |