| 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 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1154 | 1154 |
| 1155 // List pref containing the system component ids which are not allowed to send | 1155 // List pref containing the system component ids which are not allowed to send |
| 1156 // notifications to the message center. | 1156 // notifications to the message center. |
| 1157 const char kMessageCenterDisabledSystemComponentIds[] = | 1157 const char kMessageCenterDisabledSystemComponentIds[] = |
| 1158 "message_center.disabled_system_component_ids"; | 1158 "message_center.disabled_system_component_ids"; |
| 1159 | 1159 |
| 1160 // Boolean pref indicating the Chrome Now welcome notification was dismissed | 1160 // Boolean pref indicating the Chrome Now welcome notification was dismissed |
| 1161 // by the user. Syncable. | 1161 // by the user. Syncable. |
| 1162 // Note: This is now read-only. The welcome notification writes the _local | 1162 // Note: This is now read-only. The welcome notification writes the _local |
| 1163 // version, below. | 1163 // version, below. |
| 1164 extern const char kWelcomeNotificationDismissed[] = | 1164 const char kWelcomeNotificationDismissed[] = |
| 1165 "message_center.welcome_notification_dismissed"; | 1165 "message_center.welcome_notification_dismissed"; |
| 1166 | 1166 |
| 1167 // Boolean pref indicating the Chrome Now welcome notification was dismissed | 1167 // Boolean pref indicating the Chrome Now welcome notification was dismissed |
| 1168 // by the user on this machine. | 1168 // by the user on this machine. |
| 1169 extern const char kWelcomeNotificationDismissedLocal[] = | 1169 const char kWelcomeNotificationDismissedLocal[] = |
| 1170 "message_center.welcome_notification_dismissed_local"; | 1170 "message_center.welcome_notification_dismissed_local"; |
| 1171 | 1171 |
| 1172 // Boolean pref indicating the welcome notification was previously popped up. | 1172 // Boolean pref indicating the welcome notification was previously popped up. |
| 1173 extern const char kWelcomeNotificationPreviouslyPoppedUp[] = | 1173 const char kWelcomeNotificationPreviouslyPoppedUp[] = |
| 1174 "message_center.welcome_notification_previously_popped_up"; | 1174 "message_center.welcome_notification_previously_popped_up"; |
| 1175 | 1175 |
| 1176 // Integer pref containing the expiration timestamp of the welcome notification. | 1176 // Integer pref containing the expiration timestamp of the welcome notification. |
| 1177 extern const char kWelcomeNotificationExpirationTimestamp[] = | 1177 const char kWelcomeNotificationExpirationTimestamp[] = |
| 1178 "message_center.welcome_notification_expiration_timestamp"; | 1178 "message_center.welcome_notification_expiration_timestamp"; |
| 1179 | 1179 |
| 1180 // Boolean pref that determines whether the user can enter fullscreen mode. | 1180 // Boolean pref that determines whether the user can enter fullscreen mode. |
| 1181 // Disabling fullscreen mode also makes kiosk mode unavailable on desktop | 1181 // Disabling fullscreen mode also makes kiosk mode unavailable on desktop |
| 1182 // platforms. | 1182 // platforms. |
| 1183 extern const char kFullscreenAllowed[] = "fullscreen.allowed"; | 1183 const char kFullscreenAllowed[] = "fullscreen.allowed"; |
| 1184 | 1184 |
| 1185 // Enable notifications for new devices on the local network that can be | 1185 // Enable notifications for new devices on the local network that can be |
| 1186 // registered to the user's account, e.g. Google Cloud Print printers. | 1186 // registered to the user's account, e.g. Google Cloud Print printers. |
| 1187 const char kLocalDiscoveryNotificationsEnabled[] = | 1187 const char kLocalDiscoveryNotificationsEnabled[] = |
| 1188 "local_discovery.notifications_enabled"; | 1188 "local_discovery.notifications_enabled"; |
| 1189 | 1189 |
| 1190 // A timestamp (stored in base::Time::ToInternalValue format) of the last time | 1190 // A timestamp (stored in base::Time::ToInternalValue format) of the last time |
| 1191 // a preference was reset. | 1191 // a preference was reset. |
| 1192 const char kPreferenceResetTime[] = "prefs.preference_reset_time"; | 1192 const char kPreferenceResetTime[] = "prefs.preference_reset_time"; |
| 1193 | 1193 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 1211 // Whether close proximity between the remote and the local device is required | 1211 // Whether close proximity between the remote and the local device is required |
| 1212 // in order to use Easy Unlock. | 1212 // in order to use Easy Unlock. |
| 1213 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; | 1213 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; |
| 1214 | 1214 |
| 1215 // Whether to show the Easy Unlock first run tutorial. | 1215 // Whether to show the Easy Unlock first run tutorial. |
| 1216 const char kEasyUnlockShowTutorial[] = "easy_unlock.show_tutorial"; | 1216 const char kEasyUnlockShowTutorial[] = "easy_unlock.show_tutorial"; |
| 1217 | 1217 |
| 1218 // A cache of zero suggest results using JSON serialized into a string. | 1218 // A cache of zero suggest results using JSON serialized into a string. |
| 1219 const char kZeroSuggestCachedResults[] = "zerosuggest.cachedresults"; | 1219 const char kZeroSuggestCachedResults[] = "zerosuggest.cachedresults"; |
| 1220 | 1220 |
| 1221 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS) |
| 1221 // These device IDs are used by the copresence component, to uniquely identify | 1222 // These device IDs are used by the copresence component, to uniquely identify |
| 1222 // this device to the server. For privacy, authenticated and unauthenticated | 1223 // this device to the server. For privacy, authenticated and unauthenticated |
| 1223 // calls are made using different device IDs. | 1224 // calls are made using different device IDs. |
| 1224 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS) | |
| 1225 const char kCopresenceAuthenticatedDeviceId[] = | 1225 const char kCopresenceAuthenticatedDeviceId[] = |
| 1226 "apps.copresence.auth_device_id"; | 1226 "apps.copresence.auth_device_id"; |
| 1227 const char kCopresenceAnonymousDeviceId[] = "apps.copresence.unauth_device_id"; | 1227 const char kCopresenceAnonymousDeviceId[] = "apps.copresence.unauth_device_id"; |
| 1228 |
| 1229 // Used to indicate whether or not the toolbar redesign bubble has been shown |
| 1230 // and acknowledged, and the last time the bubble was shown. |
| 1231 const char kToolbarIconSurfacingBubbleAcknowledged[] = |
| 1232 "toolbar_icon_surfacing_bubble_acknowledged"; |
| 1233 const char kToolbarIconSurfacingBubbleLastShowTime[] = |
| 1234 "toolbar_icon_surfacing_bubble_show_time"; |
| 1228 #endif | 1235 #endif |
| 1229 | 1236 |
| 1230 // Whether WebRTC should bind to individual NICs to explore all possible routing | 1237 // Whether WebRTC should bind to individual NICs to explore all possible routing |
| 1231 // options. Default is true. | 1238 // options. Default is true. |
| 1232 #if defined(ENABLE_WEBRTC) | 1239 #if defined(ENABLE_WEBRTC) |
| 1233 const char kWebRTCMultipleRoutesEnabled[] = "webrtc.multiple_routes_enabled"; | 1240 const char kWebRTCMultipleRoutesEnabled[] = "webrtc.multiple_routes_enabled"; |
| 1234 #endif | 1241 #endif |
| 1235 | 1242 |
| 1236 // *************** LOCAL STATE *************** | 1243 // *************** LOCAL STATE *************** |
| 1237 // These are attached to the machine/installation | 1244 // These are attached to the machine/installation |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1835 const char kDeviceEnrollmentAutoStart[] = "enrollment.auto_start"; | 1842 const char kDeviceEnrollmentAutoStart[] = "enrollment.auto_start"; |
| 1836 | 1843 |
| 1837 // Whether the user may exit enrollment. | 1844 // Whether the user may exit enrollment. |
| 1838 const char kDeviceEnrollmentCanExit[] = "enrollment.can_exit"; | 1845 const char kDeviceEnrollmentCanExit[] = "enrollment.can_exit"; |
| 1839 | 1846 |
| 1840 // How many times HID detection OOBE dialog was shown. | 1847 // How many times HID detection OOBE dialog was shown. |
| 1841 const char kTimesHIDDialogShown[] = "HIDDialog.shown_how_many_times"; | 1848 const char kTimesHIDDialogShown[] = "HIDDialog.shown_how_many_times"; |
| 1842 | 1849 |
| 1843 // Dictionary of per-user Least Recently Used input method (used at login | 1850 // Dictionary of per-user Least Recently Used input method (used at login |
| 1844 // screen). | 1851 // screen). |
| 1845 extern const char kUsersLRUInputMethod[] = "UsersLRUInputMethod"; | 1852 const char kUsersLRUInputMethod[] = "UsersLRUInputMethod"; |
| 1846 | 1853 |
| 1847 // A dictionary pref of the echo offer check flag. It sets offer info when | 1854 // A dictionary pref of the echo offer check flag. It sets offer info when |
| 1848 // an offer is checked. | 1855 // an offer is checked. |
| 1849 extern const char kEchoCheckedOffers[] = "EchoCheckedOffers"; | 1856 const char kEchoCheckedOffers[] = "EchoCheckedOffers"; |
| 1850 | 1857 |
| 1851 // Key name of a dictionary in local state to store cached multiprofle user | 1858 // Key name of a dictionary in local state to store cached multiprofle user |
| 1852 // behavior policy value. | 1859 // behavior policy value. |
| 1853 const char kCachedMultiProfileUserBehavior[] = "CachedMultiProfileUserBehavior"; | 1860 const char kCachedMultiProfileUserBehavior[] = "CachedMultiProfileUserBehavior"; |
| 1854 | 1861 |
| 1855 // A string pref with initial locale set in VPD or manifest. | 1862 // A string pref with initial locale set in VPD or manifest. |
| 1856 const char kInitialLocale[] = "intl.initial_locale"; | 1863 const char kInitialLocale[] = "intl.initial_locale"; |
| 1857 | 1864 |
| 1858 // A boolean pref of the OOBE complete flag (first OOBE part before login). | 1865 // A boolean pref of the OOBE complete flag (first OOBE part before login). |
| 1859 const char kOobeComplete[] = "OobeComplete"; | 1866 const char kOobeComplete[] = "OobeComplete"; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 1890 // An integer pref of the current consumer management stage. The meaning of the | 1897 // An integer pref of the current consumer management stage. The meaning of the |
| 1891 // value is defined in: | 1898 // value is defined in: |
| 1892 // chrome/browser/chromeos/policy/consumer_management_stage.h | 1899 // chrome/browser/chromeos/policy/consumer_management_stage.h |
| 1893 const char kConsumerManagementStage[] = "consumer_management.stage"; | 1900 const char kConsumerManagementStage[] = "consumer_management.stage"; |
| 1894 | 1901 |
| 1895 // A boolean pref. If set to true, new experimental OOBE UI is displayed. | 1902 // A boolean pref. If set to true, new experimental OOBE UI is displayed. |
| 1896 const char kNewOobe[] = "NewOobe"; | 1903 const char kNewOobe[] = "NewOobe"; |
| 1897 | 1904 |
| 1898 // A boolean pref. If set to true, experimental webview based signin flow | 1905 // A boolean pref. If set to true, experimental webview based signin flow |
| 1899 // activated. | 1906 // activated. |
| 1900 extern const char kWebviewSigninEnabled[] = | 1907 const char kWebviewSigninEnabled[] = |
| 1901 "webview_signin_enabled"; | 1908 "webview_signin_enabled"; |
| 1902 #endif // defined(OS_CHROMEOS) | 1909 #endif // defined(OS_CHROMEOS) |
| 1903 | 1910 |
| 1904 // Whether there is a Flash version installed that supports clearing LSO data. | 1911 // Whether there is a Flash version installed that supports clearing LSO data. |
| 1905 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; | 1912 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; |
| 1906 | 1913 |
| 1907 // Whether we should show Pepper Flash-specific settings. | 1914 // Whether we should show Pepper Flash-specific settings. |
| 1908 const char kPepperFlashSettingsEnabled[] = | 1915 const char kPepperFlashSettingsEnabled[] = |
| 1909 "browser.pepper_flash_settings_enabled"; | 1916 "browser.pepper_flash_settings_enabled"; |
| 1910 | 1917 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1982 // A boolean indicating whether we should connect to cloud print new printers. | 1989 // A boolean indicating whether we should connect to cloud print new printers. |
| 1983 const char kCloudPrintConnectNewPrinters[] = | 1990 const char kCloudPrintConnectNewPrinters[] = |
| 1984 "cloud_print.user_settings.connectNewPrinters"; | 1991 "cloud_print.user_settings.connectNewPrinters"; |
| 1985 // A boolean indicating whether we should ping XMPP connection. | 1992 // A boolean indicating whether we should ping XMPP connection. |
| 1986 const char kCloudPrintXmppPingEnabled[] = "cloud_print.xmpp_ping_enabled"; | 1993 const char kCloudPrintXmppPingEnabled[] = "cloud_print.xmpp_ping_enabled"; |
| 1987 // An int value indicating the average timeout between xmpp pings. | 1994 // An int value indicating the average timeout between xmpp pings. |
| 1988 const char kCloudPrintXmppPingTimeout[] = "cloud_print.xmpp_ping_timeout_sec"; | 1995 const char kCloudPrintXmppPingTimeout[] = "cloud_print.xmpp_ping_timeout_sec"; |
| 1989 // Dictionary with settings stored by connector setup page. | 1996 // Dictionary with settings stored by connector setup page. |
| 1990 const char kCloudPrintUserSettings[] = "cloud_print.user_settings"; | 1997 const char kCloudPrintUserSettings[] = "cloud_print.user_settings"; |
| 1991 // List of printers settings. | 1998 // List of printers settings. |
| 1992 extern const char kCloudPrintPrinters[] = "cloud_print.user_settings.printers"; | 1999 const char kCloudPrintPrinters[] = "cloud_print.user_settings.printers"; |
| 1993 // A boolean indicating whether submitting jobs to Google Cloud Print is | 2000 // A boolean indicating whether submitting jobs to Google Cloud Print is |
| 1994 // blocked by policy. | 2001 // blocked by policy. |
| 1995 const char kCloudPrintSubmitEnabled[] = "cloud_print.submit_enabled"; | 2002 const char kCloudPrintSubmitEnabled[] = "cloud_print.submit_enabled"; |
| 1996 | 2003 |
| 1997 // Preference to store proxy settings. | 2004 // Preference to store proxy settings. |
| 1998 const char kProxy[] = "proxy"; | 2005 const char kProxy[] = "proxy"; |
| 1999 const char kMaxConnectionsPerProxy[] = "net.max_connections_per_proxy"; | 2006 const char kMaxConnectionsPerProxy[] = "net.max_connections_per_proxy"; |
| 2000 | 2007 |
| 2001 #if defined(OS_MACOSX) | 2008 #if defined(OS_MACOSX) |
| 2002 // Set to true if the user removed our login item so we should not create a new | 2009 // Set to true if the user removed our login item so we should not create a new |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2207 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers | 2214 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers |
| 2208 // launch of the specified app when restarting Chrome in desktop mode. | 2215 // launch of the specified app when restarting Chrome in desktop mode. |
| 2209 const char kAppLaunchForMetroRestartProfile[] = | 2216 const char kAppLaunchForMetroRestartProfile[] = |
| 2210 "apps.app_launch_for_metro_restart_profile"; | 2217 "apps.app_launch_for_metro_restart_profile"; |
| 2211 | 2218 |
| 2212 // An integer that is incremented whenever changes are made to app shortcuts. | 2219 // An integer that is incremented whenever changes are made to app shortcuts. |
| 2213 // Increasing this causes all app shortcuts to be recreated. | 2220 // Increasing this causes all app shortcuts to be recreated. |
| 2214 const char kAppShortcutsVersion[] = "apps.shortcuts_version"; | 2221 const char kAppShortcutsVersion[] = "apps.shortcuts_version"; |
| 2215 | 2222 |
| 2216 // How often the bubble has been shown. | 2223 // How often the bubble has been shown. |
| 2217 extern const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown"; | 2224 const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown"; |
| 2218 | 2225 |
| 2219 // A string pref for storing the salt used to compute the pepper device ID. | 2226 // A string pref for storing the salt used to compute the pepper device ID. |
| 2220 const char kDRMSalt[] = "settings.privacy.drm_salt"; | 2227 const char kDRMSalt[] = "settings.privacy.drm_salt"; |
| 2221 // A boolean pref that enables the (private) pepper GetDeviceID() call and | 2228 // A boolean pref that enables the (private) pepper GetDeviceID() call and |
| 2222 // enables the use of remote attestation for content protection. | 2229 // enables the use of remote attestation for content protection. |
| 2223 const char kEnableDRM[] = "settings.privacy.drm_enabled"; | 2230 const char kEnableDRM[] = "settings.privacy.drm_enabled"; |
| 2224 | 2231 |
| 2225 // An integer per-profile pref that signals if the watchdog extension is | 2232 // An integer per-profile pref that signals if the watchdog extension is |
| 2226 // installed and active. We need to know if the watchdog extension active for | 2233 // installed and active. We need to know if the watchdog extension active for |
| 2227 // ActivityLog initialization before the extension system is initialized. | 2234 // ActivityLog initialization before the extension system is initialized. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 2242 | 2249 |
| 2243 // Whether Guest Mode is enabled within the browser. | 2250 // Whether Guest Mode is enabled within the browser. |
| 2244 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; | 2251 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; |
| 2245 | 2252 |
| 2246 // Whether Adding a new Person is enabled within the user manager. | 2253 // Whether Adding a new Person is enabled within the user manager. |
| 2247 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; | 2254 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; |
| 2248 | 2255 |
| 2249 // Device identifier used by Easy Unlock stored in local state. This id will be | 2256 // Device identifier used by Easy Unlock stored in local state. This id will be |
| 2250 // combined with a user id, before being registered with the CryptAuth server, | 2257 // combined with a user id, before being registered with the CryptAuth server, |
| 2251 // so it can't correlate users on the same device. | 2258 // so it can't correlate users on the same device. |
| 2252 extern const char kEasyUnlockDeviceId[] = "easy_unlock.device_id"; | 2259 const char kEasyUnlockDeviceId[] = "easy_unlock.device_id"; |
| 2253 | 2260 |
| 2254 // A dictionary that maps user id to hardlock state. | 2261 // A dictionary that maps user id to hardlock state. |
| 2255 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; | 2262 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; |
| 2256 | 2263 |
| 2257 // A dictionary that maps user id to public part of RSA key pair used by | 2264 // A dictionary that maps user id to public part of RSA key pair used by |
| 2258 // Easy Sign-in for the user. | 2265 // Easy Sign-in for the user. |
| 2259 const char kEasyUnlockLocalStateTpmKeys[] = "easy_unlock.public_tpm_keys"; | 2266 const char kEasyUnlockLocalStateTpmKeys[] = "easy_unlock.public_tpm_keys"; |
| 2260 | 2267 |
| 2261 // A dictionary in local state containing each user's Easy Unlock profile | 2268 // A dictionary in local state containing each user's Easy Unlock profile |
| 2262 // preferences, so they can be accessed outside of the user's profile. The value | 2269 // preferences, so they can be accessed outside of the user's profile. The value |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2282 // (name and a list of clients that registered the whitelist). | 2289 // (name and a list of clients that registered the whitelist). |
| 2283 const char kRegisteredSupervisedUserWhitelists[] = | 2290 const char kRegisteredSupervisedUserWhitelists[] = |
| 2284 "supervised_users.whitelists"; | 2291 "supervised_users.whitelists"; |
| 2285 | 2292 |
| 2286 #if defined(ENABLE_EXTENSIONS) | 2293 #if defined(ENABLE_EXTENSIONS) |
| 2287 // Policy that indicates how to handle animated images. | 2294 // Policy that indicates how to handle animated images. |
| 2288 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; | 2295 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; |
| 2289 #endif | 2296 #endif |
| 2290 | 2297 |
| 2291 } // namespace prefs | 2298 } // namespace prefs |
| OLD | NEW |