OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 // separated with comma punctuation mark. | 435 // separated with comma punctuation mark. |
436 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; | 436 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; |
437 | 437 |
438 // Clear Browsing Data dialog preferences. | 438 // Clear Browsing Data dialog preferences. |
439 const char kDeleteBrowsingHistory[] = "browser.clear_data.browsing_history"; | 439 const char kDeleteBrowsingHistory[] = "browser.clear_data.browsing_history"; |
440 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; | 440 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; |
441 const char kDeleteCache[] = "browser.clear_data.cache"; | 441 const char kDeleteCache[] = "browser.clear_data.cache"; |
442 const char kDeleteCookies[] = "browser.clear_data.cookies"; | 442 const char kDeleteCookies[] = "browser.clear_data.cookies"; |
443 const char kDeletePasswords[] = "browser.clear_data.passwords"; | 443 const char kDeletePasswords[] = "browser.clear_data.passwords"; |
444 const char kDeleteFormData[] = "browser.clear_data.form_data"; | 444 const char kDeleteFormData[] = "browser.clear_data.form_data"; |
| 445 const char kDeleteLSOData[] = "browser.clear_data.lso_data"; |
445 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; | 446 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; |
446 | 447 |
| 448 // Whether there is a Flash version installed that supports clearing LSO data. |
| 449 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; |
| 450 |
447 // Boolean pref to define the default values for using spellchecker. | 451 // Boolean pref to define the default values for using spellchecker. |
448 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; | 452 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; |
449 | 453 |
450 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). | 454 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). |
451 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; | 455 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; |
452 | 456 |
453 // Boolean pref to define the default values for using auto spell correct. | 457 // Boolean pref to define the default values for using auto spell correct. |
454 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; | 458 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; |
455 | 459 |
456 // Boolean controlling whether history saving is disabled. | 460 // Boolean controlling whether history saving is disabled. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 // regardless of other content settings. | 551 // regardless of other content settings. |
548 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; | 552 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; |
549 | 553 |
550 // Boolean that is true if non-sandboxed plug-ins should be blocked. | 554 // Boolean that is true if non-sandboxed plug-ins should be blocked. |
551 const char kBlockNonsandboxedPlugins[] = "profile.block_nonsandboxed_plugins"; | 555 const char kBlockNonsandboxedPlugins[] = "profile.block_nonsandboxed_plugins"; |
552 | 556 |
553 // Boolean that is true when all locally stored site data (e.g. cookies, local | 557 // Boolean that is true when all locally stored site data (e.g. cookies, local |
554 // storage, etc..) should be deleted on exit. | 558 // storage, etc..) should be deleted on exit. |
555 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; | 559 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; |
556 | 560 |
| 561 // Boolean that is true when plug-in locally stored data ("Flash cookies") |
| 562 // should be deleted on exit. |
| 563 const char kClearPluginLSODataOnExit[] = |
| 564 "profile.clear_plugin_lso_data_on_exit"; |
| 565 |
557 // Double that indicates the default zoom level. | 566 // Double that indicates the default zoom level. |
558 const char kDefaultZoomLevel[] = "profile.default_zoom_level"; | 567 const char kDefaultZoomLevel[] = "profile.default_zoom_level"; |
559 | 568 |
560 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will | 569 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will |
561 // be displayed at the default zoom level. | 570 // be displayed at the default zoom level. |
562 const char kPerHostZoomLevels[] = "profile.per_host_zoom_levels"; | 571 const char kPerHostZoomLevels[] = "profile.per_host_zoom_levels"; |
563 | 572 |
564 // Boolean that is true if AutoFill is enabled and allowed to save profile data. | 573 // Boolean that is true if AutoFill is enabled and allowed to save profile data. |
565 const char kAutoFillEnabled[] = "autofill.enabled"; | 574 const char kAutoFillEnabled[] = "autofill.enabled"; |
566 | 575 |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1123 const char kManagedDefaultPluginsSetting[] = | 1132 const char kManagedDefaultPluginsSetting[] = |
1124 "profile.managed_default_content_settings.plugins"; | 1133 "profile.managed_default_content_settings.plugins"; |
1125 const char kManagedDefaultPopupsSetting[] = | 1134 const char kManagedDefaultPopupsSetting[] = |
1126 "profile.managed_default_content_settings.popups"; | 1135 "profile.managed_default_content_settings.popups"; |
1127 | 1136 |
1128 // Dictionary for storing the set of known background pages (keys are extension | 1137 // Dictionary for storing the set of known background pages (keys are extension |
1129 // IDs of background page owners, value is a boolean that is true if the user | 1138 // IDs of background page owners, value is a boolean that is true if the user |
1130 // needs to acknowledge this page. | 1139 // needs to acknowledge this page. |
1131 const char kKnownBackgroundPages[] = "background_pages.known"; | 1140 const char kKnownBackgroundPages[] = "background_pages.known"; |
1132 } // namespace prefs | 1141 } // namespace prefs |
OLD | NEW |