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 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1044 "autofill.generated_card_bubble_times_shown"; | 1044 "autofill.generated_card_bubble_times_shown"; |
1045 | 1045 |
1046 // A dictionary that tracks the defaults to be set on the next invocation | 1046 // A dictionary that tracks the defaults to be set on the next invocation |
1047 // of the requestAutocomplete dialog. | 1047 // of the requestAutocomplete dialog. |
1048 const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults"; | 1048 const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults"; |
1049 | 1049 |
1050 #if !defined(OS_ANDROID) | 1050 #if !defined(OS_ANDROID) |
1051 const char kPinnedTabs[] = "pinned_tabs"; | 1051 const char kPinnedTabs[] = "pinned_tabs"; |
1052 #endif | 1052 #endif |
1053 | 1053 |
1054 #if defined(OS_ANDROID) | |
1055 // Boolean that controls the enabled-state of Geolocation in content. | |
1056 const char kGeolocationEnabled[] = "geolocation.enabled"; | |
1057 #endif | |
1058 | |
1059 #if defined(ENABLE_GOOGLE_NOW) | |
1060 // Boolean that is true when Google services can use the user's location. | |
1061 const char kGoogleGeolocationAccessEnabled[] = | |
1062 "googlegeolocationaccess.enabled"; | |
1063 #endif | |
1064 | |
1065 // The default audio capture device used by the Media content setting. | |
1066 const char kDefaultAudioCaptureDevice[] = "media.default_audio_capture_device"; | |
1067 | |
1068 // The default video capture device used by the Media content setting. | |
1069 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device"; | |
1070 | |
1071 // The salt used for creating random MediaSource IDs. | |
1072 const char kMediaDeviceIdSalt[] = "media.device_id_salt"; | |
1073 | |
1074 // Preference to disable 3D APIs (WebGL, Pepper 3D). | 1054 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
1075 const char kDisable3DAPIs[] = "disable_3d_apis"; | 1055 const char kDisable3DAPIs[] = "disable_3d_apis"; |
1076 | 1056 |
1077 const char kEnableDeprecatedWebPlatformFeatures[] = | 1057 const char kEnableDeprecatedWebPlatformFeatures[] = |
1078 "enable_deprecated_web_platform_features"; | 1058 "enable_deprecated_web_platform_features"; |
1079 | 1059 |
1080 // Whether to enable hyperlink auditing ("<a ping>"). | 1060 // Whether to enable hyperlink auditing ("<a ping>"). |
1081 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; | 1061 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; |
1082 | 1062 |
1083 // Whether to enable sending referrers. | 1063 // Whether to enable sending referrers. |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1625 | 1605 |
1626 // Boolean indicating that TiclInvalidationService should use GCM channel. | 1606 // Boolean indicating that TiclInvalidationService should use GCM channel. |
1627 // False or lack of settings means XMPPPushClient channel. | 1607 // False or lack of settings means XMPPPushClient channel. |
1628 const char kInvalidationServiceUseGCMChannel[] = | 1608 const char kInvalidationServiceUseGCMChannel[] = |
1629 "invalidation_service.use_gcm_channel"; | 1609 "invalidation_service.use_gcm_channel"; |
1630 | 1610 |
1631 // Local hash of authentication password, used for off-line authentication | 1611 // Local hash of authentication password, used for off-line authentication |
1632 // when on-line authentication is not available. | 1612 // when on-line authentication is not available. |
1633 const char kGoogleServicesPasswordHash[] = "google.services.password_hash"; | 1613 const char kGoogleServicesPasswordHash[] = "google.services.password_hash"; |
1634 | 1614 |
1635 #if !defined(OS_ANDROID) | |
1636 // Tracks the number of times that we have shown the sign in promo at startup. | 1615 // Tracks the number of times that we have shown the sign in promo at startup. |
1637 const char kSignInPromoStartupCount[] = "sync_promo.startup_count"; | 1616 const char kSignInPromoStartupCount[] = "sync_promo.startup_count"; |
1638 | 1617 |
1639 // Boolean tracking whether the user chose to skip the sign in promo. | 1618 // Boolean tracking whether the user chose to skip the sign in promo. |
1640 const char kSignInPromoUserSkipped[] = "sync_promo.user_skipped"; | 1619 const char kSignInPromoUserSkipped[] = "sync_promo.user_skipped"; |
1641 | 1620 |
1642 // Boolean that specifies if the sign in promo is allowed to show on first run. | 1621 // Boolean that specifies if the sign in promo is allowed to show on first run. |
1643 // This preference is specified in the master preference file to suppress the | 1622 // This preference is specified in the master preference file to suppress the |
1644 // sign in promo for some installations. | 1623 // sign in promo for some installations. |
1645 const char kSignInPromoShowOnFirstRunAllowed[] = | 1624 const char kSignInPromoShowOnFirstRunAllowed[] = |
1646 "sync_promo.show_on_first_run_allowed"; | 1625 "sync_promo.show_on_first_run_allowed"; |
1647 | 1626 |
1648 // Boolean that specifies if we should show a bubble in the new tab page. | 1627 // Boolean that specifies if we should show a bubble in the new tab page. |
1649 // The bubble is used to confirm that the user is signed into sync. | 1628 // The bubble is used to confirm that the user is signed into sync. |
1650 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; | 1629 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; |
1651 #endif | |
1652 | 1630 |
1653 // Create web application shortcut dialog preferences. | 1631 // Create web application shortcut dialog preferences. |
1654 const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop"; | 1632 const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop"; |
1655 const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu"; | 1633 const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu"; |
1656 const char kWebAppCreateInQuickLaunchBar[] = | 1634 const char kWebAppCreateInQuickLaunchBar[] = |
1657 "browser.web_app.create_in_quick_launch_bar"; | 1635 "browser.web_app.create_in_quick_launch_bar"; |
1658 | 1636 |
1659 // Dictionary that maps Geolocation network provider server URLs to | 1637 // Dictionary that maps Geolocation network provider server URLs to |
1660 // corresponding access token. | 1638 // corresponding access token. |
1661 const char kGeolocationAccessToken[] = "geolocation.access_token"; | 1639 const char kGeolocationAccessToken[] = "geolocation.access_token"; |
1662 | 1640 |
| 1641 #if defined(OS_ANDROID) |
| 1642 // Boolean that controls the enabled-state of Geolocation in content. |
| 1643 const char kGeolocationEnabled[] = "geolocation.enabled"; |
| 1644 #endif |
| 1645 |
| 1646 #if defined(ENABLE_GOOGLE_NOW) |
| 1647 // Boolean that is true when Google services can use the user's location. |
| 1648 const char kGoogleGeolocationAccessEnabled[] = |
| 1649 "googlegeolocationaccess.enabled"; |
| 1650 #endif |
| 1651 |
| 1652 // The default audio capture device used by the Media content setting. |
| 1653 const char kDefaultAudioCaptureDevice[] = "media.default_audio_capture_device"; |
| 1654 |
| 1655 // The default video capture device used by the Media content setting. |
| 1656 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device"; |
| 1657 |
| 1658 // The salt used for creating random MediaSource IDs. |
| 1659 const char kMediaDeviceIdSalt[] = "media.device_id_salt"; |
| 1660 |
1663 // Boolean that indicates whether to allow firewall traversal while trying to | 1661 // Boolean that indicates whether to allow firewall traversal while trying to |
1664 // establish the initial connection from the client or host. | 1662 // establish the initial connection from the client or host. |
1665 const char kRemoteAccessHostFirewallTraversal[] = | 1663 const char kRemoteAccessHostFirewallTraversal[] = |
1666 "remote_access.host_firewall_traversal"; | 1664 "remote_access.host_firewall_traversal"; |
1667 | 1665 |
1668 // Boolean controlling whether 2-factor auth should be required when connecting | 1666 // Boolean controlling whether 2-factor auth should be required when connecting |
1669 // to a host (instead of a PIN). | 1667 // to a host (instead of a PIN). |
1670 const char kRemoteAccessHostRequireTwoFactor[] = | 1668 const char kRemoteAccessHostRequireTwoFactor[] = |
1671 "remote_access.host_require_two_factor"; | 1669 "remote_access.host_require_two_factor"; |
1672 | 1670 |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1923 | 1921 |
1924 // System uptime, when last logout started. | 1922 // System uptime, when last logout started. |
1925 // This is saved to file and cleared after chrome process starts. | 1923 // This is saved to file and cleared after chrome process starts. |
1926 const char kLogoutStartedLast[] = "chromeos.logout-started"; | 1924 const char kLogoutStartedLast[] = "chromeos.logout-started"; |
1927 | 1925 |
1928 // An integer pref of the current consumer management enrollment stage. The | 1926 // An integer pref of the current consumer management enrollment stage. The |
1929 // meaning of the value is defined in the enum EnrollmentStage in: | 1927 // meaning of the value is defined in the enum EnrollmentStage in: |
1930 // chrome/browser/chromeos/policy/consumer_management_service.h | 1928 // chrome/browser/chromeos/policy/consumer_management_service.h |
1931 const char kConsumerManagementEnrollmentStage[] = | 1929 const char kConsumerManagementEnrollmentStage[] = |
1932 "consumer_management.enrollment_stage"; | 1930 "consumer_management.enrollment_stage"; |
1933 #endif | 1931 #endif // defined(OS_CHROMEOS) |
1934 | 1932 |
1935 // Whether there is a Flash version installed that supports clearing LSO data. | 1933 // Whether there is a Flash version installed that supports clearing LSO data. |
1936 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; | 1934 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; |
1937 | 1935 |
1938 // Whether we should show Pepper Flash-specific settings. | 1936 // Whether we should show Pepper Flash-specific settings. |
1939 const char kPepperFlashSettingsEnabled[] = | 1937 const char kPepperFlashSettingsEnabled[] = |
1940 "browser.pepper_flash_settings_enabled"; | 1938 "browser.pepper_flash_settings_enabled"; |
1941 | 1939 |
1942 // String which specifies where to store the disk cache. | 1940 // String which specifies where to store the disk cache. |
1943 const char kDiskCacheDir[] = "browser.disk_cache_dir"; | 1941 const char kDiskCacheDir[] = "browser.disk_cache_dir"; |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2263 // Whether Guest Mode is enabled within the browser. | 2261 // Whether Guest Mode is enabled within the browser. |
2264 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; | 2262 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; |
2265 | 2263 |
2266 // Whether Adding a new Person is enabled within the user manager. | 2264 // Whether Adding a new Person is enabled within the user manager. |
2267 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; | 2265 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; |
2268 | 2266 |
2269 // A dictionary that maps user id to hardlock state. | 2267 // A dictionary that maps user id to hardlock state. |
2270 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; | 2268 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; |
2271 | 2269 |
2272 } // namespace prefs | 2270 } // namespace prefs |
OLD | NEW |