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 // Constants for the names of various preferences, for easier changing. | 5 // Constants for the names of various preferences, for easier changing. |
6 | 6 |
7 #ifndef CHROME_COMMON_PREF_NAMES_H_ | 7 #ifndef CHROME_COMMON_PREF_NAMES_H_ |
8 #define CHROME_COMMON_PREF_NAMES_H_ | 8 #define CHROME_COMMON_PREF_NAMES_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 extern const char kWebKitPasswordEchoEnabled[]; | 140 extern const char kWebKitPasswordEchoEnabled[]; |
141 #endif | 141 #endif |
142 extern const char kSafeBrowsingEnabled[]; | 142 extern const char kSafeBrowsingEnabled[]; |
143 extern const char kSafeBrowsingExtendedReportingEnabled[]; | 143 extern const char kSafeBrowsingExtendedReportingEnabled[]; |
144 extern const char kSafeBrowsingProceedAnywayDisabled[]; | 144 extern const char kSafeBrowsingProceedAnywayDisabled[]; |
145 extern const char kSafeBrowsingIncidentsSent[]; | 145 extern const char kSafeBrowsingIncidentsSent[]; |
146 extern const char kSafeBrowsingExtendedReportingOptInAllowed[]; | 146 extern const char kSafeBrowsingExtendedReportingOptInAllowed[]; |
147 extern const char kSSLErrorOverrideAllowed[]; | 147 extern const char kSSLErrorOverrideAllowed[]; |
148 extern const char kIncognitoModeAvailability[]; | 148 extern const char kIncognitoModeAvailability[]; |
149 extern const char kSearchSuggestEnabled[]; | 149 extern const char kSearchSuggestEnabled[]; |
150 #if defined(OS_ANDROID) | 150 #if defined(ANDROID_JAVA_UI) |
151 extern const char kContextualSearchEnabled[]; | 151 extern const char kContextualSearchEnabled[]; |
152 #endif | 152 #endif |
153 #if defined(OS_MACOSX) | 153 #if defined(OS_MACOSX) |
154 extern const char kConfirmToQuitEnabled[]; | 154 extern const char kConfirmToQuitEnabled[]; |
155 #endif | 155 #endif |
156 extern const char kPromptForDownload[]; | 156 extern const char kPromptForDownload[]; |
157 extern const char kAlternateErrorPagesEnabled[]; | 157 extern const char kAlternateErrorPagesEnabled[]; |
158 extern const char kDnsPrefetchingStartupList[]; | 158 extern const char kDnsPrefetchingStartupList[]; |
159 extern const char kDnsPrefetchingHostReferralList[]; | 159 extern const char kDnsPrefetchingHostReferralList[]; |
160 extern const char kDisableSpdy[]; | 160 extern const char kDisableSpdy[]; |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 extern const char kContentSettingsPluginWhitelist[]; | 327 extern const char kContentSettingsPluginWhitelist[]; |
328 #endif | 328 #endif |
329 extern const char kPartitionDefaultZoomLevel[]; | 329 extern const char kPartitionDefaultZoomLevel[]; |
330 extern const char kPartitionPerHostZoomLevels[]; | 330 extern const char kPartitionPerHostZoomLevels[]; |
331 extern const char kAutofillDialogAutofillDefault[]; | 331 extern const char kAutofillDialogAutofillDefault[]; |
332 extern const char kAutofillDialogPayWithoutWallet[]; | 332 extern const char kAutofillDialogPayWithoutWallet[]; |
333 extern const char kAutofillDialogWalletLocationAcceptance[]; | 333 extern const char kAutofillDialogWalletLocationAcceptance[]; |
334 extern const char kAutofillDialogSaveData[]; | 334 extern const char kAutofillDialogSaveData[]; |
335 extern const char kAutofillDialogWalletShippingSameAsBilling[]; | 335 extern const char kAutofillDialogWalletShippingSameAsBilling[]; |
336 extern const char kAutofillGeneratedCardBubbleTimesShown[]; | 336 extern const char kAutofillGeneratedCardBubbleTimesShown[]; |
337 #if defined(OS_ANDROID) | 337 #if defined(ANDROID_JAVA_UI) |
338 extern const char kAutofillDialogDefaults[]; | 338 extern const char kAutofillDialogDefaults[]; |
339 #endif | 339 #endif |
340 | 340 |
341 #if !defined(OS_ANDROID) | 341 #if !defined(OS_ANDROID) |
342 extern const char kPinnedTabs[]; | 342 extern const char kPinnedTabs[]; |
343 #endif | 343 #endif |
344 | 344 |
345 extern const char kDisable3DAPIs[]; | 345 extern const char kDisable3DAPIs[]; |
346 extern const char kEnableDeprecatedWebPlatformFeatures[]; | 346 extern const char kEnableDeprecatedWebPlatformFeatures[]; |
347 extern const char kEnableHyperlinkAuditing[]; | 347 extern const char kEnableHyperlinkAuditing[]; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 extern const char kWebRTCIPHandlingPolicy[]; | 410 extern const char kWebRTCIPHandlingPolicy[]; |
411 #endif | 411 #endif |
412 | 412 |
413 extern const char kGLVendorString[]; | 413 extern const char kGLVendorString[]; |
414 extern const char kGLRendererString[]; | 414 extern const char kGLRendererString[]; |
415 extern const char kGLVersionString[]; | 415 extern const char kGLVersionString[]; |
416 | 416 |
417 // Android has it's own metric / crash reporting implemented in Android | 417 // Android has it's own metric / crash reporting implemented in Android |
418 // Java code so kMetricsReportingEnabled doesn't make sense. We use this | 418 // Java code so kMetricsReportingEnabled doesn't make sense. We use this |
419 // to inform crashes_ui that we have enabled crash reporting. | 419 // to inform crashes_ui that we have enabled crash reporting. |
420 #if defined(OS_ANDROID) | 420 #if defined(ANDROID_JAVA_UI) |
421 extern const char kCrashReportingEnabled[]; | 421 extern const char kCrashReportingEnabled[]; |
422 #endif | 422 #endif |
423 | 423 |
424 extern const char kDeviceOpenNetworkConfiguration[]; | 424 extern const char kDeviceOpenNetworkConfiguration[]; |
425 | 425 |
426 extern const char kProfileLastUsed[]; | 426 extern const char kProfileLastUsed[]; |
427 extern const char kProfilesLastActive[]; | 427 extern const char kProfilesLastActive[]; |
428 extern const char kProfilesNumCreated[]; | 428 extern const char kProfilesNumCreated[]; |
429 extern const char kProfileInfoCache[]; | 429 extern const char kProfileInfoCache[]; |
430 extern const char kProfileCreatedByVersion[]; | 430 extern const char kProfileCreatedByVersion[]; |
431 | 431 |
432 extern const char kStabilityOtherUserCrashCount[]; | 432 extern const char kStabilityOtherUserCrashCount[]; |
433 extern const char kStabilityKernelCrashCount[]; | 433 extern const char kStabilityKernelCrashCount[]; |
434 extern const char kStabilitySystemUncleanShutdownCount[]; | 434 extern const char kStabilitySystemUncleanShutdownCount[]; |
435 #if defined(OS_ANDROID) | 435 #if defined(ANDROID_JAVA_UI) |
436 extern const char kStabilityForegroundActivityType[]; | 436 extern const char kStabilityForegroundActivityType[]; |
437 extern const char kStabilityLaunchedActivityFlags[]; | 437 extern const char kStabilityLaunchedActivityFlags[]; |
438 extern const char kStabilityLaunchedActivityCounts[]; | 438 extern const char kStabilityLaunchedActivityCounts[]; |
439 extern const char kStabilityCrashedActivityCounts[]; | 439 extern const char kStabilityCrashedActivityCounts[]; |
440 #endif | 440 #endif |
441 | 441 |
442 extern const char kStabilityPluginStats[]; | 442 extern const char kStabilityPluginStats[]; |
443 extern const char kStabilityPluginName[]; | 443 extern const char kStabilityPluginName[]; |
444 extern const char kStabilityPluginLaunches[]; | 444 extern const char kStabilityPluginLaunches[]; |
445 extern const char kStabilityPluginInstances[]; | 445 extern const char kStabilityPluginInstances[]; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 #endif | 495 #endif |
496 | 496 |
497 #if defined(OS_WIN) | 497 #if defined(OS_WIN) |
498 extern const char kRelaunchMode[]; | 498 extern const char kRelaunchMode[]; |
499 #endif | 499 #endif |
500 | 500 |
501 extern const char kDisableExtensions[]; | 501 extern const char kDisableExtensions[]; |
502 extern const char kDisablePluginFinder[]; | 502 extern const char kDisablePluginFinder[]; |
503 | 503 |
504 extern const char kNtpAppPageNames[]; | 504 extern const char kNtpAppPageNames[]; |
505 #if defined(OS_ANDROID) | 505 #if defined(ANDROID_JAVA_UI) |
506 extern const char kNtpCollapsedCurrentlyOpenTabs[]; | 506 extern const char kNtpCollapsedCurrentlyOpenTabs[]; |
507 #endif | 507 #endif |
508 extern const char kNtpCollapsedForeignSessions[]; | 508 extern const char kNtpCollapsedForeignSessions[]; |
509 #if defined(OS_ANDROID) | 509 #if defined(ANDROID_JAVA_UI) |
510 extern const char kNtpCollapsedRecentlyClosedTabs[]; | 510 extern const char kNtpCollapsedRecentlyClosedTabs[]; |
511 extern const char kNtpCollapsedSnapshotDocument[]; | 511 extern const char kNtpCollapsedSnapshotDocument[]; |
512 extern const char kNtpCollapsedSyncPromo[]; | 512 extern const char kNtpCollapsedSyncPromo[]; |
513 #endif | 513 #endif |
514 extern const char kNtpShownPage[]; | 514 extern const char kNtpShownPage[]; |
515 #if defined(OS_ANDROID) | 515 #if defined(ANDROID_JAVA_UI) |
516 extern const char kNTPSuggestionsURL[]; | 516 extern const char kNTPSuggestionsURL[]; |
517 extern const char kNTPSuggestionsIsPersonal[]; | 517 extern const char kNTPSuggestionsIsPersonal[]; |
518 #endif | 518 #endif |
519 | 519 |
520 extern const char kDevToolsAdbKey[]; | 520 extern const char kDevToolsAdbKey[]; |
521 extern const char kDevToolsDisabled[]; | 521 extern const char kDevToolsDisabled[]; |
522 extern const char kDevToolsDiscoverUsbDevicesEnabled[]; | 522 extern const char kDevToolsDiscoverUsbDevicesEnabled[]; |
523 extern const char kDevToolsEditedFiles[]; | 523 extern const char kDevToolsEditedFiles[]; |
524 extern const char kDevToolsFileSystemPaths[]; | 524 extern const char kDevToolsFileSystemPaths[]; |
525 extern const char kDevToolsPortForwardingEnabled[]; | 525 extern const char kDevToolsPortForwardingEnabled[]; |
(...skipping 20 matching lines...) Expand all Loading... |
546 extern const char kCrossDevicePromoNextFetchListDevicesTime[]; | 546 extern const char kCrossDevicePromoNextFetchListDevicesTime[]; |
547 extern const char kCrossDevicePromoNumDevices[]; | 547 extern const char kCrossDevicePromoNumDevices[]; |
548 extern const char kCrossDevicePromoLastDeviceActiveTime[]; | 548 extern const char kCrossDevicePromoLastDeviceActiveTime[]; |
549 #endif | 549 #endif |
550 | 550 |
551 extern const char kWebAppCreateOnDesktop[]; | 551 extern const char kWebAppCreateOnDesktop[]; |
552 extern const char kWebAppCreateInAppsMenu[]; | 552 extern const char kWebAppCreateInAppsMenu[]; |
553 extern const char kWebAppCreateInQuickLaunchBar[]; | 553 extern const char kWebAppCreateInQuickLaunchBar[]; |
554 | 554 |
555 extern const char kGeolocationAccessToken[]; | 555 extern const char kGeolocationAccessToken[]; |
556 #if defined(OS_ANDROID) | 556 #if defined(ANDROID_JAVA_UI) |
557 extern const char kGeolocationEnabled[]; | 557 extern const char kGeolocationEnabled[]; |
558 #endif | 558 #endif |
559 | 559 |
560 #if defined(ENABLE_GOOGLE_NOW) | 560 #if defined(ENABLE_GOOGLE_NOW) |
561 extern const char kGoogleGeolocationAccessEnabled[]; | 561 extern const char kGoogleGeolocationAccessEnabled[]; |
562 #endif | 562 #endif |
563 extern const char kGoogleNowLauncherEnabled[]; | 563 extern const char kGoogleNowLauncherEnabled[]; |
564 | 564 |
565 extern const char kDefaultAudioCaptureDevice[]; | 565 extern const char kDefaultAudioCaptureDevice[]; |
566 extern const char kDefaultVideoCaptureDevice[]; | 566 extern const char kDefaultVideoCaptureDevice[]; |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 #endif | 760 #endif |
761 extern const char kAppShortcutsVersion[]; | 761 extern const char kAppShortcutsVersion[]; |
762 | 762 |
763 extern const char kModuleConflictBubbleShown[]; | 763 extern const char kModuleConflictBubbleShown[]; |
764 | 764 |
765 extern const char kDRMSalt[]; | 765 extern const char kDRMSalt[]; |
766 extern const char kEnableDRM[]; | 766 extern const char kEnableDRM[]; |
767 | 767 |
768 extern const char kWatchdogExtensionActive[]; | 768 extern const char kWatchdogExtensionActive[]; |
769 | 769 |
770 #if defined(OS_ANDROID) | 770 #if defined(ANDROID_JAVA_UI) |
771 extern const char kPartnerBookmarkMappings[]; | 771 extern const char kPartnerBookmarkMappings[]; |
772 #endif | 772 #endif |
773 | 773 |
774 extern const char kQuickCheckEnabled[]; | 774 extern const char kQuickCheckEnabled[]; |
775 extern const char kBrowserGuestModeEnabled[]; | 775 extern const char kBrowserGuestModeEnabled[]; |
776 extern const char kBrowserAddPersonEnabled[]; | 776 extern const char kBrowserAddPersonEnabled[]; |
777 | 777 |
778 extern const char kEasyUnlockDeviceId[]; | 778 extern const char kEasyUnlockDeviceId[]; |
779 extern const char kEasyUnlockHardlockState[]; | 779 extern const char kEasyUnlockHardlockState[]; |
780 extern const char kEasyUnlockLocalStateTpmKeys[]; | 780 extern const char kEasyUnlockLocalStateTpmKeys[]; |
781 extern const char kEasyUnlockLocalStateUserPrefs[]; | 781 extern const char kEasyUnlockLocalStateUserPrefs[]; |
782 | 782 |
783 extern const char kRecoveryComponentNeedsElevation[]; | 783 extern const char kRecoveryComponentNeedsElevation[]; |
784 | 784 |
785 extern const char kRegisteredSupervisedUserWhitelists[]; | 785 extern const char kRegisteredSupervisedUserWhitelists[]; |
786 | 786 |
787 #if defined(ENABLE_EXTENSIONS) | 787 #if defined(ENABLE_EXTENSIONS) |
788 extern const char kAnimationPolicy[]; | 788 extern const char kAnimationPolicy[]; |
789 #endif | 789 #endif |
790 | 790 |
791 extern const char kBackgroundTracingLastUpload[]; | 791 extern const char kBackgroundTracingLastUpload[]; |
792 | 792 |
793 extern const char kAllowDinosaurEasterEgg[]; | 793 extern const char kAllowDinosaurEasterEgg[]; |
794 | 794 |
795 } // namespace prefs | 795 } // namespace prefs |
796 | 796 |
797 #endif // CHROME_COMMON_PREF_NAMES_H_ | 797 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |