| 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 const wchar_t kDefaultContentSettings[] = L"profile.default_content_settings"; | 302 const wchar_t kDefaultContentSettings[] = L"profile.default_content_settings"; |
| 303 | 303 |
| 304 // Dictionary that maps hostnames to content related settings. Default | 304 // Dictionary that maps hostnames to content related settings. Default |
| 305 // settings will be applied to hosts not in this pref. | 305 // settings will be applied to hosts not in this pref. |
| 306 const wchar_t kPerHostContentSettings[] = L"profile.per_host_content_settings"; | 306 const wchar_t kPerHostContentSettings[] = L"profile.per_host_content_settings"; |
| 307 | 307 |
| 308 // Boolean that is true if we should unconditionally block third-party cookies, | 308 // Boolean that is true if we should unconditionally block third-party cookies, |
| 309 // regardless of other content settings. | 309 // regardless of other content settings. |
| 310 const wchar_t kBlockThirdPartyCookies[] = L"profile.block_third_party_cookies"; | 310 const wchar_t kBlockThirdPartyCookies[] = L"profile.block_third_party_cookies"; |
| 311 | 311 |
| 312 // Boolean that is true when all locally stored site data (e.g. cookies, local |
| 313 // storage, etc..) should be deleted on exit. |
| 314 const wchar_t kClearSiteDataOnExit[] = L"profile.clear_site_data_on_exit"; |
| 315 |
| 312 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will | 316 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will |
| 313 // be displayed at the default zoom level. | 317 // be displayed at the default zoom level. |
| 314 const wchar_t kPerHostZoomLevels[] = L"profile.per_host_zoom_levels"; | 318 const wchar_t kPerHostZoomLevels[] = L"profile.per_host_zoom_levels"; |
| 315 | 319 |
| 316 // Boolean that is true if the autofill infobar has been shown to the user. | 320 // Boolean that is true if the autofill infobar has been shown to the user. |
| 317 const wchar_t kAutoFillInfoBarShown[] = L"autofill.infobar_shown"; | 321 const wchar_t kAutoFillInfoBarShown[] = L"autofill.infobar_shown"; |
| 318 | 322 |
| 319 // Boolean that is true if autofill is enabled and allowed to save profile data. | 323 // Boolean that is true if autofill is enabled and allowed to save profile data. |
| 320 const wchar_t kAutoFillEnabled[] = L"autofill.enabled"; | 324 const wchar_t kAutoFillEnabled[] = L"autofill.enabled"; |
| 321 | 325 |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; | 651 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; |
| 648 | 652 |
| 649 // Create web application shortcut dialog preferences. | 653 // Create web application shortcut dialog preferences. |
| 650 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop"; | 654 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop"; |
| 651 const wchar_t kWebAppCreateInAppsMenu[] = | 655 const wchar_t kWebAppCreateInAppsMenu[] = |
| 652 L"browser.web_app.create_in_apps_menu"; | 656 L"browser.web_app.create_in_apps_menu"; |
| 653 const wchar_t kWebAppCreateInQuickLaunchBar[] = | 657 const wchar_t kWebAppCreateInQuickLaunchBar[] = |
| 654 L"browser.web_app.create_in_quick_launch_bar"; | 658 L"browser.web_app.create_in_quick_launch_bar"; |
| 655 | 659 |
| 656 } // namespace prefs | 660 } // namespace prefs |
| OLD | NEW |