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 { |
11 | 11 |
12 // *************** PROFILE PREFS *************** | 12 // *************** PROFILE PREFS *************** |
13 // These are attached to the user profile | 13 // These are attached to the user profile |
14 | 14 |
15 | 15 |
16 // A bool pref that keeps whether the child status for this profile was already | 16 // A bool pref that keeps whether the child status for this profile was already |
17 // successfully checked via ChildAccountService. | 17 // successfully checked via ChildAccountService. |
18 const char kChildAccountStatusKnown[] = "child_account_status_known"; | 18 const char kChildAccountStatusKnown[] = "child_account_status_known"; |
19 | 19 |
20 // A string property indicating whether default apps should be installed | 20 // A string property indicating whether default apps should be installed |
21 // in this profile. Use the value "install" to enable defaults apps, or | 21 // in this profile. Use the value "install" to enable defaults apps, or |
22 // "noinstall" to disable them. This property is usually set in the | 22 // "noinstall" to disable them. This property is usually set in the |
23 // master_preferences and copied into the profile preferences on first run. | 23 // master_preferences and copied into the profile preferences on first run. |
24 // Defaults apps are installed only when creating a new profile. | 24 // Defaults apps are installed only when creating a new profile. |
25 const char kDefaultApps[] = "default_apps"; | 25 const char kDefaultApps[] = "default_apps"; |
26 | 26 |
27 // Whether we have installed default apps yet in this profile. | |
28 const char kDefaultAppsInstalled[] = "default_apps_installed"; | |
29 | |
30 // Disables screenshot accelerators and extension APIs. | 27 // Disables screenshot accelerators and extension APIs. |
31 // This setting resides both in profile prefs and local state. Accelerator | 28 // This setting resides both in profile prefs and local state. Accelerator |
32 // handling code reads local state, while extension APIs use profile pref. | 29 // handling code reads local state, while extension APIs use profile pref. |
33 const char kDisableScreenshots[] = "disable_screenshots"; | 30 const char kDisableScreenshots[] = "disable_screenshots"; |
34 | 31 |
35 // If set to true profiles are created in ephemeral mode and do not store their | 32 // If set to true profiles are created in ephemeral mode and do not store their |
36 // data in the profile folder on disk but only in memory. | 33 // data in the profile folder on disk but only in memory. |
37 const char kForceEphemeralProfiles[] = "profile.ephemeral_mode"; | 34 const char kForceEphemeralProfiles[] = "profile.ephemeral_mode"; |
38 | 35 |
39 // A boolean specifying whether the New Tab page is the home page or not. | 36 // A boolean specifying whether the New Tab page is the home page or not. |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 const char kWebKitSansSerifFontFamilyMap[] = | 218 const char kWebKitSansSerifFontFamilyMap[] = |
222 WEBKIT_WEBPREFS_FONTS_SANSERIF; | 219 WEBKIT_WEBPREFS_FONTS_SANSERIF; |
223 const char kWebKitCursiveFontFamilyMap[] = | 220 const char kWebKitCursiveFontFamilyMap[] = |
224 WEBKIT_WEBPREFS_FONTS_CURSIVE; | 221 WEBKIT_WEBPREFS_FONTS_CURSIVE; |
225 const char kWebKitFantasyFontFamilyMap[] = | 222 const char kWebKitFantasyFontFamilyMap[] = |
226 WEBKIT_WEBPREFS_FONTS_FANTASY; | 223 WEBKIT_WEBPREFS_FONTS_FANTASY; |
227 const char kWebKitPictographFontFamilyMap[] = | 224 const char kWebKitPictographFontFamilyMap[] = |
228 WEBKIT_WEBPREFS_FONTS_PICTOGRAPH; | 225 WEBKIT_WEBPREFS_FONTS_PICTOGRAPH; |
229 const char kWebKitStandardFontFamilyArabic[] = | 226 const char kWebKitStandardFontFamilyArabic[] = |
230 "webkit.webprefs.fonts.standard.Arab"; | 227 "webkit.webprefs.fonts.standard.Arab"; |
| 228 #if defined(OS_WIN) |
231 const char kWebKitFixedFontFamilyArabic[] = | 229 const char kWebKitFixedFontFamilyArabic[] = |
232 "webkit.webprefs.fonts.fixed.Arab"; | 230 "webkit.webprefs.fonts.fixed.Arab"; |
| 231 #endif |
233 const char kWebKitSerifFontFamilyArabic[] = | 232 const char kWebKitSerifFontFamilyArabic[] = |
234 "webkit.webprefs.fonts.serif.Arab"; | 233 "webkit.webprefs.fonts.serif.Arab"; |
235 const char kWebKitSansSerifFontFamilyArabic[] = | 234 const char kWebKitSansSerifFontFamilyArabic[] = |
236 "webkit.webprefs.fonts.sansserif.Arab"; | 235 "webkit.webprefs.fonts.sansserif.Arab"; |
| 236 #if defined(OS_WIN) |
237 const char kWebKitStandardFontFamilyCyrillic[] = | 237 const char kWebKitStandardFontFamilyCyrillic[] = |
238 "webkit.webprefs.fonts.standard.Cyrl"; | 238 "webkit.webprefs.fonts.standard.Cyrl"; |
239 const char kWebKitFixedFontFamilyCyrillic[] = | 239 const char kWebKitFixedFontFamilyCyrillic[] = |
240 "webkit.webprefs.fonts.fixed.Cyrl"; | 240 "webkit.webprefs.fonts.fixed.Cyrl"; |
241 const char kWebKitSerifFontFamilyCyrillic[] = | 241 const char kWebKitSerifFontFamilyCyrillic[] = |
242 "webkit.webprefs.fonts.serif.Cyrl"; | 242 "webkit.webprefs.fonts.serif.Cyrl"; |
243 const char kWebKitSansSerifFontFamilyCyrillic[] = | 243 const char kWebKitSansSerifFontFamilyCyrillic[] = |
244 "webkit.webprefs.fonts.sansserif.Cyrl"; | 244 "webkit.webprefs.fonts.sansserif.Cyrl"; |
245 const char kWebKitStandardFontFamilyGreek[] = | 245 const char kWebKitStandardFontFamilyGreek[] = |
246 "webkit.webprefs.fonts.standard.Grek"; | 246 "webkit.webprefs.fonts.standard.Grek"; |
247 const char kWebKitFixedFontFamilyGreek[] = | 247 const char kWebKitFixedFontFamilyGreek[] = |
248 "webkit.webprefs.fonts.fixed.Grek"; | 248 "webkit.webprefs.fonts.fixed.Grek"; |
249 const char kWebKitSerifFontFamilyGreek[] = | 249 const char kWebKitSerifFontFamilyGreek[] = |
250 "webkit.webprefs.fonts.serif.Grek"; | 250 "webkit.webprefs.fonts.serif.Grek"; |
251 const char kWebKitSansSerifFontFamilyGreek[] = | 251 const char kWebKitSansSerifFontFamilyGreek[] = |
252 "webkit.webprefs.fonts.sansserif.Grek"; | 252 "webkit.webprefs.fonts.sansserif.Grek"; |
| 253 #endif |
253 const char kWebKitStandardFontFamilyJapanese[] = | 254 const char kWebKitStandardFontFamilyJapanese[] = |
254 "webkit.webprefs.fonts.standard.Jpan"; | 255 "webkit.webprefs.fonts.standard.Jpan"; |
255 const char kWebKitFixedFontFamilyJapanese[] = | 256 const char kWebKitFixedFontFamilyJapanese[] = |
256 "webkit.webprefs.fonts.fixed.Jpan"; | 257 "webkit.webprefs.fonts.fixed.Jpan"; |
257 const char kWebKitSerifFontFamilyJapanese[] = | 258 const char kWebKitSerifFontFamilyJapanese[] = |
258 "webkit.webprefs.fonts.serif.Jpan"; | 259 "webkit.webprefs.fonts.serif.Jpan"; |
259 const char kWebKitSansSerifFontFamilyJapanese[] = | 260 const char kWebKitSansSerifFontFamilyJapanese[] = |
260 "webkit.webprefs.fonts.sansserif.Jpan"; | 261 "webkit.webprefs.fonts.sansserif.Jpan"; |
261 const char kWebKitStandardFontFamilyKorean[] = | 262 const char kWebKitStandardFontFamilyKorean[] = |
262 "webkit.webprefs.fonts.standard.Hang"; | 263 "webkit.webprefs.fonts.standard.Hang"; |
263 const char kWebKitFixedFontFamilyKorean[] = | 264 const char kWebKitFixedFontFamilyKorean[] = |
264 "webkit.webprefs.fonts.fixed.Hang"; | 265 "webkit.webprefs.fonts.fixed.Hang"; |
265 const char kWebKitSerifFontFamilyKorean[] = | 266 const char kWebKitSerifFontFamilyKorean[] = |
266 "webkit.webprefs.fonts.serif.Hang"; | 267 "webkit.webprefs.fonts.serif.Hang"; |
267 const char kWebKitSansSerifFontFamilyKorean[] = | 268 const char kWebKitSansSerifFontFamilyKorean[] = |
268 "webkit.webprefs.fonts.sansserif.Hang"; | 269 "webkit.webprefs.fonts.sansserif.Hang"; |
| 270 #if defined(OS_WIN) |
269 const char kWebKitCursiveFontFamilyKorean[] = | 271 const char kWebKitCursiveFontFamilyKorean[] = |
270 "webkit.webprefs.fonts.cursive.Hang"; | 272 "webkit.webprefs.fonts.cursive.Hang"; |
| 273 #endif |
271 const char kWebKitStandardFontFamilySimplifiedHan[] = | 274 const char kWebKitStandardFontFamilySimplifiedHan[] = |
272 "webkit.webprefs.fonts.standard.Hans"; | 275 "webkit.webprefs.fonts.standard.Hans"; |
273 const char kWebKitFixedFontFamilySimplifiedHan[] = | 276 const char kWebKitFixedFontFamilySimplifiedHan[] = |
274 "webkit.webprefs.fonts.fixed.Hans"; | 277 "webkit.webprefs.fonts.fixed.Hans"; |
275 const char kWebKitSerifFontFamilySimplifiedHan[] = | 278 const char kWebKitSerifFontFamilySimplifiedHan[] = |
276 "webkit.webprefs.fonts.serif.Hans"; | 279 "webkit.webprefs.fonts.serif.Hans"; |
277 const char kWebKitSansSerifFontFamilySimplifiedHan[] = | 280 const char kWebKitSansSerifFontFamilySimplifiedHan[] = |
278 "webkit.webprefs.fonts.sansserif.Hans"; | 281 "webkit.webprefs.fonts.sansserif.Hans"; |
279 const char kWebKitStandardFontFamilyTraditionalHan[] = | 282 const char kWebKitStandardFontFamilyTraditionalHan[] = |
280 "webkit.webprefs.fonts.standard.Hant"; | 283 "webkit.webprefs.fonts.standard.Hant"; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 const char kSearchSuggestEnabled[] = "search.suggest_enabled"; | 365 const char kSearchSuggestEnabled[] = "search.suggest_enabled"; |
363 | 366 |
364 #if defined(OS_ANDROID) | 367 #if defined(OS_ANDROID) |
365 // String indicating the Contextual Search enabled state. | 368 // String indicating the Contextual Search enabled state. |
366 // "false" - opt-out (disabled) | 369 // "false" - opt-out (disabled) |
367 // "" (empty string) - undecided | 370 // "" (empty string) - undecided |
368 // "true" - opt-in (enabled) | 371 // "true" - opt-in (enabled) |
369 const char kContextualSearchEnabled[] = "search.contextual_search_enabled"; | 372 const char kContextualSearchEnabled[] = "search.contextual_search_enabled"; |
370 #endif | 373 #endif |
371 | 374 |
| 375 #if defined(OS_MACOSX) |
372 // Boolean that indicates whether the browser should put up a confirmation | 376 // Boolean that indicates whether the browser should put up a confirmation |
373 // window when the user is attempting to quit. Mac only. | 377 // window when the user is attempting to quit. Mac only. |
374 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit"; | 378 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit"; |
| 379 #endif |
375 | 380 |
376 // Boolean which specifies whether we should ask the user if we should download | 381 // Boolean which specifies whether we should ask the user if we should download |
377 // a file (true) or just download it automatically. | 382 // a file (true) or just download it automatically. |
378 const char kPromptForDownload[] = "download.prompt_for_download"; | 383 const char kPromptForDownload[] = "download.prompt_for_download"; |
379 | 384 |
380 // A boolean pref set to true if we're using Link Doctor error pages. | 385 // A boolean pref set to true if we're using Link Doctor error pages. |
381 const char kAlternateErrorPagesEnabled[] = "alternate_error_pages.enabled"; | 386 const char kAlternateErrorPagesEnabled[] = "alternate_error_pages.enabled"; |
382 | 387 |
383 // An adaptively identified list of domain names to be pre-fetched during the | 388 // An adaptively identified list of domain names to be pre-fetched during the |
384 // next startup, based on what was actually needed during this startup. | 389 // next startup, based on what was actually needed during this startup. |
385 const char kDnsPrefetchingStartupList[] = "dns_prefetching.startup_list"; | 390 const char kDnsPrefetchingStartupList[] = "dns_prefetching.startup_list"; |
386 | 391 |
387 // A list of host names used to fetch web pages, and their commonly used | 392 // A list of host names used to fetch web pages, and their commonly used |
388 // sub-resource hostnames (and expected latency benefits from pre-resolving, or | 393 // sub-resource hostnames (and expected latency benefits from pre-resolving, or |
389 // preconnecting to, such sub-resource hostnames). | 394 // preconnecting to, such sub-resource hostnames). |
390 // This list is adaptively grown and pruned. | 395 // This list is adaptively grown and pruned. |
391 const char kDnsPrefetchingHostReferralList[] = | 396 const char kDnsPrefetchingHostReferralList[] = |
392 "dns_prefetching.host_referral_list"; | 397 "dns_prefetching.host_referral_list"; |
393 | 398 |
394 // Disables the SPDY protocol. | 399 // Disables the SPDY protocol. |
395 const char kDisableSpdy[] = "spdy.disabled"; | 400 const char kDisableSpdy[] = "spdy.disabled"; |
396 | 401 |
397 // Prefs for persisting HttpServerProperties. | 402 // Prefs for persisting HttpServerProperties. |
398 const char kHttpServerProperties[] = "net.http_server_properties"; | 403 const char kHttpServerProperties[] = "net.http_server_properties"; |
399 | 404 |
400 // Prefs for server names that support SPDY protocol. | |
401 const char kSpdyServers[] = "spdy.servers"; | |
402 | |
403 // Prefs for servers that support Alternate-Protocol. | |
404 const char kAlternateProtocolServers[] = "spdy.alternate_protocol"; | |
405 | |
406 // Disables the listed protocol schemes. | |
407 const char kDisabledSchemes[] = "protocol.disabled_schemes"; | |
408 | |
409 #if defined(OS_ANDROID) || defined(OS_IOS) | 405 #if defined(OS_ANDROID) || defined(OS_IOS) |
410 // Last time that a check for cloud policy management was done. This time is | 406 // Last time that a check for cloud policy management was done. This time is |
411 // recorded on Android so that retries aren't attempted on every startup. | 407 // recorded on Android so that retries aren't attempted on every startup. |
412 // Instead the cloud policy registration is retried at least 1 or 3 days later. | 408 // Instead the cloud policy registration is retried at least 1 or 3 days later. |
413 const char kLastPolicyCheckTime[] = "policy.last_policy_check_time"; | 409 const char kLastPolicyCheckTime[] = "policy.last_policy_check_time"; |
414 #endif | 410 #endif |
415 | 411 |
416 // Prefix URL for the experimental Instant ZeroSuggest provider. | 412 // Prefix URL for the experimental Instant ZeroSuggest provider. |
417 const char kInstantUIZeroSuggestUrlPrefix[] = | 413 const char kInstantUIZeroSuggestUrlPrefix[] = |
418 "instant_ui.zero_suggest_url_prefix"; | 414 "instant_ui.zero_suggest_url_prefix"; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 const char kDisableDriveHostedFiles[] = "gdata.hosted_files.disabled"; | 485 const char kDisableDriveHostedFiles[] = "gdata.hosted_files.disabled"; |
490 | 486 |
491 // A string pref set to the current input method. | 487 // A string pref set to the current input method. |
492 const char kLanguageCurrentInputMethod[] = | 488 const char kLanguageCurrentInputMethod[] = |
493 "settings.language.current_input_method"; | 489 "settings.language.current_input_method"; |
494 | 490 |
495 // A string pref set to the previous input method. | 491 // A string pref set to the previous input method. |
496 const char kLanguagePreviousInputMethod[] = | 492 const char kLanguagePreviousInputMethod[] = |
497 "settings.language.previous_input_method"; | 493 "settings.language.previous_input_method"; |
498 | 494 |
499 // A string pref (comma-separated list) set to the "next engine in menu" | |
500 // hot-key lists. | |
501 const char kLanguageHotkeyNextEngineInMenu[] = | |
502 "settings.language.hotkey_next_engine_in_menu"; | |
503 | |
504 // A string pref (comma-separated list) set to the "previous engine" | |
505 // hot-key lists. | |
506 const char kLanguageHotkeyPreviousEngine[] = | |
507 "settings.language.hotkey_previous_engine"; | |
508 | |
509 // A string pref (comma-separated list) set to the preferred language IDs | 495 // A string pref (comma-separated list) set to the preferred language IDs |
510 // (ex. "en-US,fr,ko"). | 496 // (ex. "en-US,fr,ko"). |
511 const char kLanguagePreferredLanguages[] = | 497 const char kLanguagePreferredLanguages[] = |
512 "settings.language.preferred_languages"; | 498 "settings.language.preferred_languages"; |
513 const char kLanguagePreferredLanguagesSyncable[] = | 499 const char kLanguagePreferredLanguagesSyncable[] = |
514 "settings.language.preferred_languages_syncable"; | 500 "settings.language.preferred_languages_syncable"; |
515 | 501 |
516 // A string pref (comma-separated list) set to the preloaded (active) input | 502 // A string pref (comma-separated list) set to the preloaded (active) input |
517 // method IDs (ex. "pinyin,mozc"). | 503 // method IDs (ex. "pinyin,mozc"). |
518 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; | 504 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 // which allows to bypass the user's proxy for captive portal authentication. | 810 // which allows to bypass the user's proxy for captive portal authentication. |
825 const char kCaptivePortalAuthenticationIgnoresProxy[] = | 811 const char kCaptivePortalAuthenticationIgnoresProxy[] = |
826 "proxy.captive_portal_ignores_proxy"; | 812 "proxy.captive_portal_ignores_proxy"; |
827 | 813 |
828 // This boolean controls whether the first window shown on first run should be | 814 // This boolean controls whether the first window shown on first run should be |
829 // unconditionally maximized, overriding the heuristic that normally chooses the | 815 // unconditionally maximized, overriding the heuristic that normally chooses the |
830 // window size. | 816 // window size. |
831 const char kForceMaximizeOnFirstRun[] = "ui.force_maximize_on_first_run"; | 817 const char kForceMaximizeOnFirstRun[] = "ui.force_maximize_on_first_run"; |
832 #endif // defined(OS_CHROMEOS) | 818 #endif // defined(OS_CHROMEOS) |
833 | 819 |
834 // The disabled messages in IPC logging. | |
835 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; | |
836 | |
837 // A boolean pref set to true if a Home button to open the Home pages should be | 820 // A boolean pref set to true if a Home button to open the Home pages should be |
838 // visible on the toolbar. | 821 // visible on the toolbar. |
839 const char kShowHomeButton[] = "browser.show_home_button"; | 822 const char kShowHomeButton[] = "browser.show_home_button"; |
840 | 823 |
841 // A string value which saves short list of recently user selected encodings | 824 // A string value which saves short list of recently user selected encodings |
842 // separated with comma punctuation mark. | 825 // separated with comma punctuation mark. |
843 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; | 826 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; |
844 | 827 |
845 // Clear Browsing Data dialog preferences. | 828 // Clear Browsing Data dialog preferences. |
846 const char kDeleteBrowsingHistory[] = "browser.clear_data.browsing_history"; | 829 const char kDeleteBrowsingHistory[] = "browser.clear_data.browsing_history"; |
(...skipping 16 matching lines...) Expand all Loading... |
863 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; | 846 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; |
864 | 847 |
865 // Boolean pref to define the default values for using auto spell correct. | 848 // Boolean pref to define the default values for using auto spell correct. |
866 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; | 849 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; |
867 | 850 |
868 // Boolean pref to define the default setting for "block offensive words". | 851 // Boolean pref to define the default setting for "block offensive words". |
869 // The old key value is kept to avoid unnecessary migration code. | 852 // The old key value is kept to avoid unnecessary migration code. |
870 const char kSpeechRecognitionFilterProfanities[] = | 853 const char kSpeechRecognitionFilterProfanities[] = |
871 "browser.speechinput_censor_results"; | 854 "browser.speechinput_censor_results"; |
872 | 855 |
873 // List of speech recognition context names (extensions or websites) for which | |
874 // the tray notification balloon has already been shown. | |
875 const char kSpeechRecognitionTrayNotificationShownContexts[] = | |
876 "browser.speechinput_tray_notification_shown_contexts"; | |
877 | |
878 // Boolean controlling whether history saving is disabled. | 856 // Boolean controlling whether history saving is disabled. |
879 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; | 857 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; |
880 | 858 |
881 // Boolean controlling whether deleting browsing and download history is | 859 // Boolean controlling whether deleting browsing and download history is |
882 // permitted. | 860 // permitted. |
883 const char kAllowDeletingBrowserHistory[] = "history.deleting_enabled"; | 861 const char kAllowDeletingBrowserHistory[] = "history.deleting_enabled"; |
884 | 862 |
885 // Boolean controlling whether SafeSearch is mandatory for Google Web Searches. | 863 // Boolean controlling whether SafeSearch is mandatory for Google Web Searches. |
886 const char kForceGoogleSafeSearch[] = "settings.force_google_safesearch"; | 864 const char kForceGoogleSafeSearch[] = "settings.force_google_safesearch"; |
887 | 865 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1036 | 1014 |
1037 // Whether the user has selected "Same as billing" for the shipping address when | 1015 // Whether the user has selected "Same as billing" for the shipping address when |
1038 // using Google Wallet. | 1016 // using Google Wallet. |
1039 const char kAutofillDialogWalletShippingSameAsBilling[] = | 1017 const char kAutofillDialogWalletShippingSameAsBilling[] = |
1040 "autofill.wallet_shipping_same_as_billing"; | 1018 "autofill.wallet_shipping_same_as_billing"; |
1041 | 1019 |
1042 // The number of times the generated credit card bubble has been shown. | 1020 // The number of times the generated credit card bubble has been shown. |
1043 const char kAutofillGeneratedCardBubbleTimesShown[] = | 1021 const char kAutofillGeneratedCardBubbleTimesShown[] = |
1044 "autofill.generated_card_bubble_times_shown"; | 1022 "autofill.generated_card_bubble_times_shown"; |
1045 | 1023 |
| 1024 #if defined(OS_ANDROID) |
1046 // A dictionary that tracks the defaults to be set on the next invocation | 1025 // A dictionary that tracks the defaults to be set on the next invocation |
1047 // of the requestAutocomplete dialog. | 1026 // of the requestAutocomplete dialog. |
1048 const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults"; | 1027 const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults"; |
| 1028 #endif |
1049 | 1029 |
1050 #if !defined(OS_ANDROID) | 1030 #if !defined(OS_ANDROID) |
1051 const char kPinnedTabs[] = "pinned_tabs"; | 1031 const char kPinnedTabs[] = "pinned_tabs"; |
1052 #endif | 1032 #endif |
1053 | 1033 |
1054 // Preference to disable 3D APIs (WebGL, Pepper 3D). | 1034 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
1055 const char kDisable3DAPIs[] = "disable_3d_apis"; | 1035 const char kDisable3DAPIs[] = "disable_3d_apis"; |
1056 | 1036 |
1057 const char kEnableDeprecatedWebPlatformFeatures[] = | 1037 const char kEnableDeprecatedWebPlatformFeatures[] = |
1058 "enable_deprecated_web_platform_features"; | 1038 "enable_deprecated_web_platform_features"; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1214 // Whether Easy Unlock is enabled. | 1194 // Whether Easy Unlock is enabled. |
1215 const char kEasyUnlockEnabled[] = "easy_unlock.enabled"; | 1195 const char kEasyUnlockEnabled[] = "easy_unlock.enabled"; |
1216 | 1196 |
1217 // Preference storing Easy Unlock pairing data. | 1197 // Preference storing Easy Unlock pairing data. |
1218 const char kEasyUnlockPairing[] = "easy_unlock.pairing"; | 1198 const char kEasyUnlockPairing[] = "easy_unlock.pairing"; |
1219 | 1199 |
1220 // Whether close proximity between the remote and the local device is required | 1200 // Whether close proximity between the remote and the local device is required |
1221 // in order to use Easy Unlock. | 1201 // in order to use Easy Unlock. |
1222 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; | 1202 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; |
1223 | 1203 |
1224 // Whether to show the Easy Unlock first run tutorial. | |
1225 const char kEasyUnlockShowTutorial[] = "easy_unlock.show_tutorial"; | |
1226 | |
1227 // A cache of zero suggest results using JSON serialized into a string. | 1204 // A cache of zero suggest results using JSON serialized into a string. |
1228 const char kZeroSuggestCachedResults[] = "zerosuggest.cachedresults"; | 1205 const char kZeroSuggestCachedResults[] = "zerosuggest.cachedresults"; |
1229 | 1206 |
1230 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS) | 1207 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS) |
1231 // These device IDs are used by the copresence component, to uniquely identify | 1208 // These device IDs are used by the copresence component, to uniquely identify |
1232 // this device to the server. For privacy, authenticated and unauthenticated | 1209 // this device to the server. For privacy, authenticated and unauthenticated |
1233 // calls are made using different device IDs. | 1210 // calls are made using different device IDs. |
1234 const char kCopresenceAuthenticatedDeviceId[] = | 1211 const char kCopresenceAuthenticatedDeviceId[] = |
1235 "apps.copresence.auth_device_id"; | 1212 "apps.copresence.auth_device_id"; |
1236 const char kCopresenceAnonymousDeviceId[] = "apps.copresence.unauth_device_id"; | 1213 const char kCopresenceAnonymousDeviceId[] = "apps.copresence.unauth_device_id"; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1290 // Prefs for SSLConfigServicePref. | 1267 // Prefs for SSLConfigServicePref. |
1291 const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled"; | 1268 const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled"; |
1292 const char kCertRevocationCheckingRequiredLocalAnchors[] = | 1269 const char kCertRevocationCheckingRequiredLocalAnchors[] = |
1293 "ssl.rev_checking.required_for_local_anchors"; | 1270 "ssl.rev_checking.required_for_local_anchors"; |
1294 const char kSSLVersionMin[] = "ssl.version_min"; | 1271 const char kSSLVersionMin[] = "ssl.version_min"; |
1295 const char kSSLVersionMax[] = "ssl.version_max"; | 1272 const char kSSLVersionMax[] = "ssl.version_max"; |
1296 const char kSSLVersionFallbackMin[] = "ssl.version_fallback_min"; | 1273 const char kSSLVersionFallbackMin[] = "ssl.version_fallback_min"; |
1297 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist"; | 1274 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist"; |
1298 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled"; | 1275 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled"; |
1299 | 1276 |
1300 // Dictionary of dates when a site's SSL blocking interstitial was proceeded | |
1301 // through. | |
1302 const char kSSLBlockingBypassed[] = "ssl.ssl_blocking_bypassed"; | |
1303 | |
1304 // Boolean that specifies whether or not crash reporting and metrics reporting | 1277 // Boolean that specifies whether or not crash reporting and metrics reporting |
1305 // are sent over the network for analysis. | 1278 // are sent over the network for analysis. |
1306 const char kMetricsReportingEnabled[] = | 1279 const char kMetricsReportingEnabled[] = |
1307 "user_experience_metrics.reporting_enabled"; | 1280 "user_experience_metrics.reporting_enabled"; |
1308 | 1281 |
1309 // Boolean that specifies whether or not crash reports are sent | 1282 // Boolean that specifies whether or not crash reports are sent |
1310 // over the network for analysis. | 1283 // over the network for analysis. |
1311 #if defined(OS_ANDROID) | 1284 #if defined(OS_ANDROID) |
1312 const char kCrashReportingEnabled[] = | 1285 const char kCrashReportingEnabled[] = |
1313 "user_experience_metrics_crash.reporting_enabled"; | 1286 "user_experience_metrics_crash.reporting_enabled"; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1484 // String which represents the dictionary name for our spell-checker. | 1457 // String which represents the dictionary name for our spell-checker. |
1485 const char kSpellCheckDictionary[] = "spellcheck.dictionary"; | 1458 const char kSpellCheckDictionary[] = "spellcheck.dictionary"; |
1486 | 1459 |
1487 // String which represents whether we use the spelling service. | 1460 // String which represents whether we use the spelling service. |
1488 const char kSpellCheckUseSpellingService[] = "spellcheck.use_spelling_service"; | 1461 const char kSpellCheckUseSpellingService[] = "spellcheck.use_spelling_service"; |
1489 | 1462 |
1490 // Dictionary of schemes used by the external protocol handler. | 1463 // Dictionary of schemes used by the external protocol handler. |
1491 // The value is true if the scheme must be ignored. | 1464 // The value is true if the scheme must be ignored. |
1492 const char kExcludedSchemes[] = "protocol_handler.excluded_schemes"; | 1465 const char kExcludedSchemes[] = "protocol_handler.excluded_schemes"; |
1493 | 1466 |
1494 // Keys used for MAC handling of SafeBrowsing requests. | |
1495 const char kSafeBrowsingClientKey[] = "safe_browsing.client_key"; | |
1496 const char kSafeBrowsingWrappedKey[] = "safe_browsing.wrapped_key"; | |
1497 | |
1498 // Integer that specifies the index of the tab the user was on when they | 1467 // Integer that specifies the index of the tab the user was on when they |
1499 // last visited the options window. | 1468 // last visited the options window. |
1500 const char kOptionsWindowLastTabIndex[] = "options_window.last_tab_index"; | 1469 const char kOptionsWindowLastTabIndex[] = "options_window.last_tab_index"; |
1501 | 1470 |
1502 // Integer that specifies the index of the tab the user was on when they | |
1503 // last visited the Certificate Manager window. | |
1504 const char kCertificateManagerWindowLastTabIndex[] = | |
1505 "certificate_manager_window.last_tab_index"; | |
1506 | |
1507 // Integer that specifies if the first run bubble should be shown. | 1471 // Integer that specifies if the first run bubble should be shown. |
1508 // This preference is only registered by the first-run procedure. | 1472 // This preference is only registered by the first-run procedure. |
1509 const char kShowFirstRunBubbleOption[] = "show-first-run-bubble-option"; | 1473 const char kShowFirstRunBubbleOption[] = "show-first-run-bubble-option"; |
1510 | 1474 |
1511 // String containing the last known intranet redirect URL, if any. See | 1475 // String containing the last known intranet redirect URL, if any. See |
1512 // intranet_redirect_detector.h for more information. | 1476 // intranet_redirect_detector.h for more information. |
1513 const char kLastKnownIntranetRedirectOrigin[] = "browser.last_redirect_origin"; | 1477 const char kLastKnownIntranetRedirectOrigin[] = "browser.last_redirect_origin"; |
1514 | 1478 |
1515 // An enum value of how the browser was shut down (see browser_shutdown.h). | 1479 // An enum value of how the browser was shut down (see browser_shutdown.h). |
1516 const char kShutdownType[] = "shutdown.type"; | 1480 const char kShutdownType[] = "shutdown.type"; |
1517 // Number of processes that were open when the user shut down. | 1481 // Number of processes that were open when the user shut down. |
1518 const char kShutdownNumProcesses[] = "shutdown.num_processes"; | 1482 const char kShutdownNumProcesses[] = "shutdown.num_processes"; |
1519 // Number of processes that were shut down using the slow path. | 1483 // Number of processes that were shut down using the slow path. |
1520 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow"; | 1484 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow"; |
1521 | 1485 |
1522 // Whether to restart the current Chrome session automatically as the last thing | 1486 // Whether to restart the current Chrome session automatically as the last thing |
1523 // before shutting everything down. | 1487 // before shutting everything down. |
1524 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown"; | 1488 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown"; |
1525 | 1489 |
1526 // Set before autorestarting Chrome, cleared on clean exit. | 1490 // Set before autorestarting Chrome, cleared on clean exit. |
1527 const char kWasRestarted[] = "was.restarted"; | 1491 const char kWasRestarted[] = "was.restarted"; |
1528 | 1492 |
1529 #if defined(OS_WIN) | 1493 #if defined(OS_WIN) |
1530 // Preference to be used while relaunching Chrome. This preference dictates if | 1494 // Preference to be used while relaunching Chrome. This preference dictates if |
1531 // Chrome should be launched in Metro or Desktop mode. | 1495 // Chrome should be launched in Metro or Desktop mode. |
1532 // For more info take a look at ChromeRelaunchMode enum. | 1496 // For more info take a look at ChromeRelaunchMode enum. |
1533 const char kRelaunchMode[] = "relaunch.mode"; | 1497 const char kRelaunchMode[] = "relaunch.mode"; |
1534 #endif | 1498 #endif |
1535 | 1499 |
1536 // Placeholder preference for disabling voice / video chat if it is ever added. | |
1537 // Currently, this does not change any behavior. | |
1538 const char kDisableVideoAndChat[] = "disable_video_chat"; | |
1539 | |
1540 // Whether Extensions are enabled. | 1500 // Whether Extensions are enabled. |
1541 const char kDisableExtensions[] = "extensions.disabled"; | 1501 const char kDisableExtensions[] = "extensions.disabled"; |
1542 | 1502 |
1543 // Whether the plugin finder that lets you install missing plugins is enabled. | 1503 // Whether the plugin finder that lets you install missing plugins is enabled. |
1544 const char kDisablePluginFinder[] = "plugins.disable_plugin_finder"; | 1504 const char kDisablePluginFinder[] = "plugins.disable_plugin_finder"; |
1545 | 1505 |
1546 // Customized app page names that appear on the New Tab Page. | 1506 // Customized app page names that appear on the New Tab Page. |
1547 const char kNtpAppPageNames[] = "ntp.app_page_names"; | 1507 const char kNtpAppPageNames[] = "ntp.app_page_names"; |
1548 | 1508 |
| 1509 #if defined(OS_ANDROID) |
1549 // Keeps track of currently open tabs collapsed state in the Other Devices menu. | 1510 // Keeps track of currently open tabs collapsed state in the Other Devices menu. |
1550 const char kNtpCollapsedCurrentlyOpenTabs[] = "ntp.collapsed_open_tabs"; | 1511 const char kNtpCollapsedCurrentlyOpenTabs[] = "ntp.collapsed_open_tabs"; |
| 1512 #endif |
1551 | 1513 |
1552 // Keeps track of which sessions are collapsed in the Other Devices menu. | 1514 // Keeps track of which sessions are collapsed in the Other Devices menu. |
1553 const char kNtpCollapsedForeignSessions[] = "ntp.collapsed_foreign_sessions"; | 1515 const char kNtpCollapsedForeignSessions[] = "ntp.collapsed_foreign_sessions"; |
1554 | 1516 |
| 1517 #if defined(OS_ANDROID) |
1555 // Keeps track of recently closed tabs collapsed state in the Other Devices | 1518 // Keeps track of recently closed tabs collapsed state in the Other Devices |
1556 // menu. | 1519 // menu. |
1557 const char kNtpCollapsedRecentlyClosedTabs[] = | 1520 const char kNtpCollapsedRecentlyClosedTabs[] = |
1558 "ntp.collapsed_recently_closed_tabs"; | 1521 "ntp.collapsed_recently_closed_tabs"; |
1559 | 1522 |
1560 // Keeps track of snapshot documents collapsed state in the Other Devices menu. | 1523 // Keeps track of snapshot documents collapsed state in the Other Devices menu. |
1561 const char kNtpCollapsedSnapshotDocument[] = "ntp.collapsed_snapshot_document"; | 1524 const char kNtpCollapsedSnapshotDocument[] = "ntp.collapsed_snapshot_document"; |
1562 | 1525 |
1563 // Keeps track of sync promo collapsed state in the Other Devices menu. | 1526 // Keeps track of sync promo collapsed state in the Other Devices menu. |
1564 const char kNtpCollapsedSyncPromo[] = "ntp.collapsed_sync_promo"; | 1527 const char kNtpCollapsedSyncPromo[] = "ntp.collapsed_sync_promo"; |
1565 | 1528 #endif |
1566 // Serves dates to determine display of elements on the NTP. | |
1567 const char kNtpDateResourceServer[] = "ntp.date_resource_server"; | |
1568 | 1529 |
1569 // New Tab Page URLs that should not be shown as most visited thumbnails. | 1530 // New Tab Page URLs that should not be shown as most visited thumbnails. |
1570 const char kNtpMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist"; | 1531 const char kNtpMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist"; |
1571 | 1532 |
1572 // True if a desktop sync session was found for this user. | |
1573 const char kNtpPromoDesktopSessionFound[] = "ntp.promo_desktop_session_found"; | |
1574 | |
1575 // Which bookmarks folder should be visible on the new tab page v4. | |
1576 const char kNtpShownBookmarksFolder[] = "ntp.shown_bookmarks_folder"; | |
1577 | |
1578 // Which page should be visible on the new tab page v4 | 1533 // Which page should be visible on the new tab page v4 |
1579 const char kNtpShownPage[] = "ntp.shown_page"; | 1534 const char kNtpShownPage[] = "ntp.shown_page"; |
1580 | 1535 |
1581 // Serves tips for the NTP. | |
1582 const char kNtpTipsResourceServer[] = "ntp.tips_resource_server"; | |
1583 | |
1584 // Boolean indicating whether the web store is active for the current locale. | |
1585 const char kNtpWebStoreEnabled[] = "ntp.webstore_enabled"; | |
1586 | |
1587 // A private RSA key for ADB handshake. | 1536 // A private RSA key for ADB handshake. |
1588 const char kDevToolsAdbKey[] = "devtools.adb_key"; | 1537 const char kDevToolsAdbKey[] = "devtools.adb_key"; |
1589 | 1538 |
1590 const char kDevToolsDisabled[] = "devtools.disabled"; | 1539 const char kDevToolsDisabled[] = "devtools.disabled"; |
1591 | 1540 |
1592 // Determines whether devtools should be discovering usb devices for | 1541 // Determines whether devtools should be discovering usb devices for |
1593 // remote debugging at chrome://inspect. | 1542 // remote debugging at chrome://inspect. |
1594 const char kDevToolsDiscoverUsbDevicesEnabled[] = | 1543 const char kDevToolsDiscoverUsbDevicesEnabled[] = |
1595 "devtools.discover_usb_devices"; | 1544 "devtools.discover_usb_devices"; |
1596 | 1545 |
1597 // Maps of files edited locally using DevTools. | 1546 // Maps of files edited locally using DevTools. |
1598 const char kDevToolsEditedFiles[] = "devtools.edited_files"; | 1547 const char kDevToolsEditedFiles[] = "devtools.edited_files"; |
1599 | 1548 |
1600 // List of file system paths added in DevTools. | 1549 // List of file system paths added in DevTools. |
1601 const char kDevToolsFileSystemPaths[] = "devtools.file_system_paths"; | 1550 const char kDevToolsFileSystemPaths[] = "devtools.file_system_paths"; |
1602 | 1551 |
1603 // A boolean specifying whether dev tools window should be opened docked. | |
1604 const char kDevToolsOpenDocked[] = "devtools.open_docked"; | |
1605 | |
1606 // A boolean specifying whether port forwarding should be enabled. | 1552 // A boolean specifying whether port forwarding should be enabled. |
1607 const char kDevToolsPortForwardingEnabled[] = | 1553 const char kDevToolsPortForwardingEnabled[] = |
1608 "devtools.port_forwarding_enabled"; | 1554 "devtools.port_forwarding_enabled"; |
1609 | 1555 |
1610 // A boolean specifying whether default port forwarding configuration has been | 1556 // A boolean specifying whether default port forwarding configuration has been |
1611 // set. | 1557 // set. |
1612 const char kDevToolsPortForwardingDefaultSet[] = | 1558 const char kDevToolsPortForwardingDefaultSet[] = |
1613 "devtools.port_forwarding_default_set"; | 1559 "devtools.port_forwarding_default_set"; |
1614 | 1560 |
1615 // A dictionary of port->location pairs for port forwarding. | 1561 // A dictionary of port->location pairs for port forwarding. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1684 // The salt used for creating random MediaSource IDs. | 1630 // The salt used for creating random MediaSource IDs. |
1685 const char kMediaDeviceIdSalt[] = "media.device_id_salt"; | 1631 const char kMediaDeviceIdSalt[] = "media.device_id_salt"; |
1686 | 1632 |
1687 // The last used printer and its settings. | 1633 // The last used printer and its settings. |
1688 const char kPrintPreviewStickySettings[] = | 1634 const char kPrintPreviewStickySettings[] = |
1689 "printing.print_preview_sticky_settings"; | 1635 "printing.print_preview_sticky_settings"; |
1690 | 1636 |
1691 // The last requested size of the dialog as it was closed. | 1637 // The last requested size of the dialog as it was closed. |
1692 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; | 1638 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; |
1693 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; | 1639 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; |
1694 const char kCloudPrintSigninDialogWidth[] = | |
1695 "cloud_print.signin_dialog_size.width"; | |
1696 const char kCloudPrintSigninDialogHeight[] = | |
1697 "cloud_print.signin_dialog_size.height"; | |
1698 | 1640 |
1699 // The list of BackgroundContents that should be loaded when the browser | 1641 // The list of BackgroundContents that should be loaded when the browser |
1700 // launches. | 1642 // launches. |
1701 const char kRegisteredBackgroundContents[] = "background_contents.registered"; | 1643 const char kRegisteredBackgroundContents[] = "background_contents.registered"; |
1702 | 1644 |
1703 #if !defined(OS_ANDROID) | 1645 #if defined(OS_WIN) |
1704 // An int that stores how often we've shown the "Chrome is configured to | 1646 // An int that stores how often we've shown the "Chrome is configured to |
1705 // auto-launch" infobar. | 1647 // auto-launch" infobar. |
1706 const char kShownAutoLaunchInfobar[] = "browser.shown_autolaunch_infobar"; | 1648 const char kShownAutoLaunchInfobar[] = "browser.shown_autolaunch_infobar"; |
1707 #endif | 1649 #endif |
1708 | 1650 |
1709 // String that lists supported HTTP authentication schemes. | 1651 // String that lists supported HTTP authentication schemes. |
1710 const char kAuthSchemes[] = "auth.schemes"; | 1652 const char kAuthSchemes[] = "auth.schemes"; |
1711 | 1653 |
1712 // Boolean that specifies whether to disable CNAME lookups when generating | 1654 // Boolean that specifies whether to disable CNAME lookups when generating |
1713 // Kerberos SPN. | 1655 // Kerberos SPN. |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1980 | 1922 |
1981 // *************** SERVICE PREFS *************** | 1923 // *************** SERVICE PREFS *************** |
1982 // These are attached to the service process. | 1924 // These are attached to the service process. |
1983 | 1925 |
1984 const char kCloudPrintRoot[] = "cloud_print"; | 1926 const char kCloudPrintRoot[] = "cloud_print"; |
1985 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; | 1927 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; |
1986 // The unique id for this instance of the cloud print proxy. | 1928 // The unique id for this instance of the cloud print proxy. |
1987 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; | 1929 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; |
1988 // The GAIA auth token for Cloud Print | 1930 // The GAIA auth token for Cloud Print |
1989 const char kCloudPrintAuthToken[] = "cloud_print.auth_token"; | 1931 const char kCloudPrintAuthToken[] = "cloud_print.auth_token"; |
1990 // The GAIA auth token used by Cloud Print to authenticate with the XMPP server | |
1991 // This should eventually go away because the above token should work for both. | |
1992 const char kCloudPrintXMPPAuthToken[] = "cloud_print.xmpp_auth_token"; | |
1993 // The email address of the account used to authenticate with the Cloud Print | 1932 // The email address of the account used to authenticate with the Cloud Print |
1994 // server. | 1933 // server. |
1995 const char kCloudPrintEmail[] = "cloud_print.email"; | 1934 const char kCloudPrintEmail[] = "cloud_print.email"; |
1996 // Settings specific to underlying print system. | 1935 // Settings specific to underlying print system. |
1997 const char kCloudPrintPrintSystemSettings[] = | 1936 const char kCloudPrintPrintSystemSettings[] = |
1998 "cloud_print.print_system_settings"; | 1937 "cloud_print.print_system_settings"; |
1999 // A boolean indicating whether we should poll for print jobs when don't have | 1938 // A boolean indicating whether we should poll for print jobs when don't have |
2000 // an XMPP connection (false by default). | 1939 // an XMPP connection (false by default). |
2001 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll"; | 1940 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll"; |
2002 const char kCloudPrintRobotRefreshToken[] = "cloud_print.robot_refresh_token"; | 1941 const char kCloudPrintRobotRefreshToken[] = "cloud_print.robot_refresh_token"; |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2150 const char kOverscrollMinimumThresholdStartTouchpad[] = | 2089 const char kOverscrollMinimumThresholdStartTouchpad[] = |
2151 "overscroll.minimum_threshold_start_touchpad"; | 2090 "overscroll.minimum_threshold_start_touchpad"; |
2152 const char kOverscrollVerticalThresholdStart[] = | 2091 const char kOverscrollVerticalThresholdStart[] = |
2153 "overscroll.vertical_threshold_start"; | 2092 "overscroll.vertical_threshold_start"; |
2154 const char kOverscrollHorizontalResistThreshold[] = | 2093 const char kOverscrollHorizontalResistThreshold[] = |
2155 "overscroll.horizontal_resist_threshold"; | 2094 "overscroll.horizontal_resist_threshold"; |
2156 const char kOverscrollVerticalResistThreshold[] = | 2095 const char kOverscrollVerticalResistThreshold[] = |
2157 "overscroll.vertical_resist_threshold"; | 2096 "overscroll.vertical_resist_threshold"; |
2158 #endif | 2097 #endif |
2159 | 2098 |
| 2099 #if defined(OS_WIN) |
2160 // Counts how many more times the 'profile on a network share' warning should be | 2100 // Counts how many more times the 'profile on a network share' warning should be |
2161 // shown to the user before the next silence period. | 2101 // shown to the user before the next silence period. |
2162 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 2102 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
2163 // Tracks the time of the last shown warning. Used to reset | 2103 // Tracks the time of the last shown warning. Used to reset |
2164 // |network_profile.warnings_left| after a silence period. | 2104 // |network_profile.warnings_left| after a silence period. |
2165 const char kNetworkProfileLastWarningTime[] = | 2105 const char kNetworkProfileLastWarningTime[] = |
2166 "network_profile.last_warning_time"; | 2106 "network_profile.last_warning_time"; |
| 2107 #endif |
2167 | 2108 |
2168 #if defined(OS_CHROMEOS) | 2109 #if defined(OS_CHROMEOS) |
2169 // The RLZ brand code, if enabled. | 2110 // The RLZ brand code, if enabled. |
2170 const char kRLZBrand[] = "rlz.brand"; | 2111 const char kRLZBrand[] = "rlz.brand"; |
2171 // Whether RLZ pings are disabled. | 2112 // Whether RLZ pings are disabled. |
2172 const char kRLZDisabled[] = "rlz.disabled"; | 2113 const char kRLZDisabled[] = "rlz.disabled"; |
2173 #endif | 2114 #endif |
2174 | 2115 |
2175 #if defined(ENABLE_APP_LIST) | 2116 #if defined(ENABLE_APP_LIST) |
2176 // The directory in user data dir that contains the profile to be used with the | 2117 // The directory in user data dir that contains the profile to be used with the |
(...skipping 17 matching lines...) Expand all Loading... |
2194 // An enum indicating how the app launcher was enabled. E.g., via webstore, app | 2135 // An enum indicating how the app launcher was enabled. E.g., via webstore, app |
2195 // install, command line, etc. For UMA. | 2136 // install, command line, etc. For UMA. |
2196 const char kAppListEnableMethod[] = "app_list.how_enabled"; | 2137 const char kAppListEnableMethod[] = "app_list.how_enabled"; |
2197 | 2138 |
2198 // The time that the app launcher was enabled. Cleared when UMA is recorded. | 2139 // The time that the app launcher was enabled. Cleared when UMA is recorded. |
2199 const char kAppListEnableTime[] = "app_list.when_enabled"; | 2140 const char kAppListEnableTime[] = "app_list.when_enabled"; |
2200 | 2141 |
2201 // The last time the app list was launched. | 2142 // The last time the app list was launched. |
2202 const char kAppListLastLaunchTime[] = "app_list.last_launch"; | 2143 const char kAppListLastLaunchTime[] = "app_list.last_launch"; |
2203 | 2144 |
| 2145 #if defined(OS_MACOSX) |
2204 // Integer representing the version of the app launcher shortcut installed on | 2146 // Integer representing the version of the app launcher shortcut installed on |
2205 // the system. Incremented, e.g., when embedded icons change. | 2147 // the system. Incremented, e.g., when embedded icons change. |
2206 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; | 2148 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; |
| 2149 #endif |
2207 | 2150 |
2208 // A boolean identifying if we should show the app launcher promo or not. | 2151 // A boolean identifying if we should show the app launcher promo or not. |
2209 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; | 2152 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; |
2210 | 2153 |
2211 // A dictionary that tracks the Drive app to Chrome app mapping. The key is | 2154 // A dictionary that tracks the Drive app to Chrome app mapping. The key is |
2212 // a Drive app id and the value is the corresponding Chrome app id. The pref | 2155 // a Drive app id and the value is the corresponding Chrome app id. The pref |
2213 // is unsynable and used to track local mappings only. | 2156 // is unsynable and used to track local mappings only. |
2214 const char kAppLauncherDriveAppMapping[] = | 2157 const char kAppLauncherDriveAppMapping[] = |
2215 "apps.app_launcher.drive_app_mapping"; | 2158 "apps.app_launcher.drive_app_mapping"; |
2216 | 2159 |
2217 // A list of Drive app ids that tracks the uninstallable Drive apps. | 2160 // A list of Drive app ids that tracks the uninstallable Drive apps. |
2218 const char kAppLauncherUninstalledDriveApps[] = | 2161 const char kAppLauncherUninstalledDriveApps[] = |
2219 "apps.app_launcher.uninstalled_drive_apps"; | 2162 "apps.app_launcher.uninstalled_drive_apps"; |
2220 #endif | 2163 #endif // defined(ENABLE_APP_LIST) |
2221 | 2164 |
| 2165 #if defined(OS_WIN) |
2222 // If set, the user requested to launch the app with this extension id while | 2166 // If set, the user requested to launch the app with this extension id while |
2223 // in Metro mode, and then relaunched to Desktop mode to start it. | 2167 // in Metro mode, and then relaunched to Desktop mode to start it. |
2224 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart"; | 2168 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart"; |
2225 | 2169 |
2226 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers | 2170 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers |
2227 // launch of the specified app when restarting Chrome in desktop mode. | 2171 // launch of the specified app when restarting Chrome in desktop mode. |
2228 const char kAppLaunchForMetroRestartProfile[] = | 2172 const char kAppLaunchForMetroRestartProfile[] = |
2229 "apps.app_launch_for_metro_restart_profile"; | 2173 "apps.app_launch_for_metro_restart_profile"; |
| 2174 #endif |
2230 | 2175 |
2231 // An integer that is incremented whenever changes are made to app shortcuts. | 2176 // An integer that is incremented whenever changes are made to app shortcuts. |
2232 // Increasing this causes all app shortcuts to be recreated. | 2177 // Increasing this causes all app shortcuts to be recreated. |
2233 const char kAppShortcutsVersion[] = "apps.shortcuts_version"; | 2178 const char kAppShortcutsVersion[] = "apps.shortcuts_version"; |
2234 | 2179 |
2235 // How often the bubble has been shown. | 2180 // How often the bubble has been shown. |
2236 const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown"; | 2181 const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown"; |
2237 | 2182 |
2238 // A string pref for storing the salt used to compute the pepper device ID. | 2183 // A string pref for storing the salt used to compute the pepper device ID. |
2239 const char kDRMSalt[] = "settings.privacy.drm_salt"; | 2184 const char kDRMSalt[] = "settings.privacy.drm_salt"; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2294 // (name and a list of clients that registered the whitelist). | 2239 // (name and a list of clients that registered the whitelist). |
2295 const char kRegisteredSupervisedUserWhitelists[] = | 2240 const char kRegisteredSupervisedUserWhitelists[] = |
2296 "supervised_users.whitelists"; | 2241 "supervised_users.whitelists"; |
2297 | 2242 |
2298 #if defined(ENABLE_EXTENSIONS) | 2243 #if defined(ENABLE_EXTENSIONS) |
2299 // Policy that indicates how to handle animated images. | 2244 // Policy that indicates how to handle animated images. |
2300 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; | 2245 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; |
2301 #endif | 2246 #endif |
2302 | 2247 |
2303 } // namespace prefs | 2248 } // namespace prefs |
OLD | NEW |