| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit"; | 337 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit"; |
| 338 | 338 |
| 339 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie | 339 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie |
| 340 // blocking policy. This has been superseded by kDefaultContentSettings + | 340 // blocking policy. This has been superseded by kDefaultContentSettings + |
| 341 // kBlockThirdPartyCookies. | 341 // kBlockThirdPartyCookies. |
| 342 // 0 - allow all cookies. | 342 // 0 - allow all cookies. |
| 343 // 1 - block third-party cookies | 343 // 1 - block third-party cookies |
| 344 // 2 - block all cookies | 344 // 2 - block all cookies |
| 345 const char kCookieBehavior[] = "security.cookie_behavior"; | 345 const char kCookieBehavior[] = "security.cookie_behavior"; |
| 346 | 346 |
| 347 // The dictionary key used when the default search providers are given | |
| 348 // in the preferences file. Normally they are copied from the master | |
| 349 // preferences file. | |
| 350 const char kSearchProviderOverrides[] = "search_provider_overrides"; | |
| 351 // The format version for the dictionary above. | |
| 352 const char kSearchProviderOverridesVersion[] = | |
| 353 "search_provider_overrides_version"; | |
| 354 | |
| 355 // Boolean which specifies whether we should ask the user if we should download | 347 // Boolean which specifies whether we should ask the user if we should download |
| 356 // a file (true) or just download it automatically. | 348 // a file (true) or just download it automatically. |
| 357 const char kPromptForDownload[] = "download.prompt_for_download"; | 349 const char kPromptForDownload[] = "download.prompt_for_download"; |
| 358 | 350 |
| 359 // A boolean pref set to true if we're using Link Doctor error pages. | 351 // A boolean pref set to true if we're using Link Doctor error pages. |
| 360 const char kAlternateErrorPagesEnabled[] = "alternate_error_pages.enabled"; | 352 const char kAlternateErrorPagesEnabled[] = "alternate_error_pages.enabled"; |
| 361 | 353 |
| 362 // OBSOLETE: new pref now stored with user prefs instead of profile, as | 354 // OBSOLETE: new pref now stored with user prefs instead of profile, as |
| 363 // kDnsPrefetchingStartupList. | 355 // kDnsPrefetchingStartupList. |
| 364 const char kDnsStartupPrefetchList[] = "StartupDNSPrefetchList"; | 356 const char kDnsStartupPrefetchList[] = "StartupDNSPrefetchList"; |
| (...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1504 "certificate_manager_window.last_tab_index"; | 1496 "certificate_manager_window.last_tab_index"; |
| 1505 | 1497 |
| 1506 // Integer that specifies if the first run bubble should be shown. | 1498 // Integer that specifies if the first run bubble should be shown. |
| 1507 // This preference is only registered by the first-run procedure. | 1499 // This preference is only registered by the first-run procedure. |
| 1508 const char kShowFirstRunBubbleOption[] = "show-first-run-bubble-option"; | 1500 const char kShowFirstRunBubbleOption[] = "show-first-run-bubble-option"; |
| 1509 | 1501 |
| 1510 // String containing the last known intranet redirect URL, if any. See | 1502 // String containing the last known intranet redirect URL, if any. See |
| 1511 // intranet_redirect_detector.h for more information. | 1503 // intranet_redirect_detector.h for more information. |
| 1512 const char kLastKnownIntranetRedirectOrigin[] = "browser.last_redirect_origin"; | 1504 const char kLastKnownIntranetRedirectOrigin[] = "browser.last_redirect_origin"; |
| 1513 | 1505 |
| 1514 // Integer containing the system Country ID the first time we checked the | |
| 1515 // template URL prepopulate data. This is used to avoid adding a whole bunch of | |
| 1516 // new search engine choices if prepopulation runs when the user's Country ID | |
| 1517 // differs from their previous Country ID. This pref does not exist until | |
| 1518 // prepopulation has been run at least once. | |
| 1519 const char kCountryIDAtInstall[] = "countryid_at_install"; | |
| 1520 // OBSOLETE. Same as above, but uses the Windows-specific GeoID value instead. | |
| 1521 // Updated if found to the above key. | |
| 1522 const char kGeoIDAtInstall[] = "geoid_at_install"; | |
| 1523 | |
| 1524 // An enum value of how the browser was shut down (see browser_shutdown.h). | 1506 // An enum value of how the browser was shut down (see browser_shutdown.h). |
| 1525 const char kShutdownType[] = "shutdown.type"; | 1507 const char kShutdownType[] = "shutdown.type"; |
| 1526 // Number of processes that were open when the user shut down. | 1508 // Number of processes that were open when the user shut down. |
| 1527 const char kShutdownNumProcesses[] = "shutdown.num_processes"; | 1509 const char kShutdownNumProcesses[] = "shutdown.num_processes"; |
| 1528 // Number of processes that were shut down using the slow path. | 1510 // Number of processes that were shut down using the slow path. |
| 1529 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow"; | 1511 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow"; |
| 1530 | 1512 |
| 1531 // Whether to restart the current Chrome session automatically as the last thing | 1513 // Whether to restart the current Chrome session automatically as the last thing |
| 1532 // before shutting everything down. | 1514 // before shutting everything down. |
| 1533 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown"; | 1515 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown"; |
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2330 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2312 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
| 2331 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2313 // given by the PartnerBookmarksProvider and either the user-visible renamed |
| 2332 // title or an empty string if the bookmark node was removed. | 2314 // title or an empty string if the bookmark node was removed. |
| 2333 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2315 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
| 2334 #endif | 2316 #endif |
| 2335 | 2317 |
| 2336 // Whether DNS Quick Check is disabled in proxy resolution. | 2318 // Whether DNS Quick Check is disabled in proxy resolution. |
| 2337 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2319 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
| 2338 | 2320 |
| 2339 } // namespace prefs | 2321 } // namespace prefs |
| OLD | NEW |