Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: chrome/common/pref_names.h

Issue 1459793002: Android: Allow compiling browser without Java UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 extern const char kWebKitPasswordEchoEnabled[]; 139 extern const char kWebKitPasswordEchoEnabled[];
140 #endif 140 #endif
141 extern const char kSafeBrowsingEnabled[]; 141 extern const char kSafeBrowsingEnabled[];
142 extern const char kSafeBrowsingExtendedReportingEnabled[]; 142 extern const char kSafeBrowsingExtendedReportingEnabled[];
143 extern const char kSafeBrowsingProceedAnywayDisabled[]; 143 extern const char kSafeBrowsingProceedAnywayDisabled[];
144 extern const char kSafeBrowsingIncidentsSent[]; 144 extern const char kSafeBrowsingIncidentsSent[];
145 extern const char kSafeBrowsingExtendedReportingOptInAllowed[]; 145 extern const char kSafeBrowsingExtendedReportingOptInAllowed[];
146 extern const char kSSLErrorOverrideAllowed[]; 146 extern const char kSSLErrorOverrideAllowed[];
147 extern const char kIncognitoModeAvailability[]; 147 extern const char kIncognitoModeAvailability[];
148 extern const char kSearchSuggestEnabled[]; 148 extern const char kSearchSuggestEnabled[];
149 #if defined(OS_ANDROID) 149 #if BUILDFLAG(ANDROID_JAVA_UI)
150 extern const char kContextualSearchEnabled[]; 150 extern const char kContextualSearchEnabled[];
151 #endif 151 #endif
152 #if defined(OS_MACOSX) 152 #if defined(OS_MACOSX)
153 extern const char kConfirmToQuitEnabled[]; 153 extern const char kConfirmToQuitEnabled[];
154 #endif 154 #endif
155 extern const char kPromptForDownload[]; 155 extern const char kPromptForDownload[];
156 extern const char kAlternateErrorPagesEnabled[]; 156 extern const char kAlternateErrorPagesEnabled[];
157 extern const char kDnsPrefetchingStartupList[]; 157 extern const char kDnsPrefetchingStartupList[];
158 extern const char kDnsPrefetchingHostReferralList[]; 158 extern const char kDnsPrefetchingHostReferralList[];
159 extern const char kDisableSpdy[]; 159 extern const char kDisableSpdy[];
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 extern const char kContentSettingsPluginWhitelist[]; 325 extern const char kContentSettingsPluginWhitelist[];
326 #endif 326 #endif
327 extern const char kPartitionDefaultZoomLevel[]; 327 extern const char kPartitionDefaultZoomLevel[];
328 extern const char kPartitionPerHostZoomLevels[]; 328 extern const char kPartitionPerHostZoomLevels[];
329 extern const char kAutofillDialogAutofillDefault[]; 329 extern const char kAutofillDialogAutofillDefault[];
330 extern const char kAutofillDialogPayWithoutWallet[]; 330 extern const char kAutofillDialogPayWithoutWallet[];
331 extern const char kAutofillDialogWalletLocationAcceptance[]; 331 extern const char kAutofillDialogWalletLocationAcceptance[];
332 extern const char kAutofillDialogSaveData[]; 332 extern const char kAutofillDialogSaveData[];
333 extern const char kAutofillDialogWalletShippingSameAsBilling[]; 333 extern const char kAutofillDialogWalletShippingSameAsBilling[];
334 extern const char kAutofillGeneratedCardBubbleTimesShown[]; 334 extern const char kAutofillGeneratedCardBubbleTimesShown[];
335 #if defined(OS_ANDROID) 335 #if BUILDFLAG(ANDROID_JAVA_UI)
336 extern const char kAutofillDialogDefaults[]; 336 extern const char kAutofillDialogDefaults[];
337 #endif 337 #endif
338 338
339 #if !defined(OS_ANDROID) 339 #if !defined(OS_ANDROID)
340 extern const char kPinnedTabs[]; 340 extern const char kPinnedTabs[];
341 #endif 341 #endif
342 342
343 extern const char kDisable3DAPIs[]; 343 extern const char kDisable3DAPIs[];
344 extern const char kEnableDeprecatedWebPlatformFeatures[]; 344 extern const char kEnableDeprecatedWebPlatformFeatures[];
345 extern const char kEnableHyperlinkAuditing[]; 345 extern const char kEnableHyperlinkAuditing[];
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 extern const char kWebRTCIPHandlingPolicy[]; 408 extern const char kWebRTCIPHandlingPolicy[];
409 #endif 409 #endif
410 410
411 extern const char kGLVendorString[]; 411 extern const char kGLVendorString[];
412 extern const char kGLRendererString[]; 412 extern const char kGLRendererString[];
413 extern const char kGLVersionString[]; 413 extern const char kGLVersionString[];
414 414
415 // Android has it's own metric / crash reporting implemented in Android 415 // Android has it's own metric / crash reporting implemented in Android
416 // Java code so kMetricsReportingEnabled doesn't make sense. We use this 416 // Java code so kMetricsReportingEnabled doesn't make sense. We use this
417 // to inform crashes_ui that we have enabled crash reporting. 417 // to inform crashes_ui that we have enabled crash reporting.
418 #if defined(OS_ANDROID) 418 #if BUILDFLAG(ANDROID_JAVA_UI)
419 extern const char kCrashReportingEnabled[]; 419 extern const char kCrashReportingEnabled[];
420 #endif 420 #endif
421 421
422 extern const char kDeviceOpenNetworkConfiguration[]; 422 extern const char kDeviceOpenNetworkConfiguration[];
423 423
424 extern const char kProfileLastUsed[]; 424 extern const char kProfileLastUsed[];
425 extern const char kProfilesLastActive[]; 425 extern const char kProfilesLastActive[];
426 extern const char kProfilesNumCreated[]; 426 extern const char kProfilesNumCreated[];
427 extern const char kProfileInfoCache[]; 427 extern const char kProfileInfoCache[];
428 extern const char kProfileCreatedByVersion[]; 428 extern const char kProfileCreatedByVersion[];
429 429
430 extern const char kStabilityOtherUserCrashCount[]; 430 extern const char kStabilityOtherUserCrashCount[];
431 extern const char kStabilityKernelCrashCount[]; 431 extern const char kStabilityKernelCrashCount[];
432 extern const char kStabilitySystemUncleanShutdownCount[]; 432 extern const char kStabilitySystemUncleanShutdownCount[];
433 #if defined(OS_ANDROID) 433 #if BUILDFLAG(ANDROID_JAVA_UI)
434 extern const char kStabilityForegroundActivityType[]; 434 extern const char kStabilityForegroundActivityType[];
435 extern const char kStabilityLaunchedActivityFlags[]; 435 extern const char kStabilityLaunchedActivityFlags[];
436 extern const char kStabilityLaunchedActivityCounts[]; 436 extern const char kStabilityLaunchedActivityCounts[];
437 extern const char kStabilityCrashedActivityCounts[]; 437 extern const char kStabilityCrashedActivityCounts[];
438 #endif 438 #endif
439 439
440 extern const char kStabilityPluginStats[]; 440 extern const char kStabilityPluginStats[];
441 extern const char kStabilityPluginName[]; 441 extern const char kStabilityPluginName[];
442 extern const char kStabilityPluginLaunches[]; 442 extern const char kStabilityPluginLaunches[];
443 extern const char kStabilityPluginInstances[]; 443 extern const char kStabilityPluginInstances[];
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 #endif 493 #endif
494 494
495 #if defined(OS_WIN) 495 #if defined(OS_WIN)
496 extern const char kRelaunchMode[]; 496 extern const char kRelaunchMode[];
497 #endif 497 #endif
498 498
499 extern const char kDisableExtensions[]; 499 extern const char kDisableExtensions[];
500 extern const char kDisablePluginFinder[]; 500 extern const char kDisablePluginFinder[];
501 501
502 extern const char kNtpAppPageNames[]; 502 extern const char kNtpAppPageNames[];
503 #if defined(OS_ANDROID) 503 #if BUILDFLAG(ANDROID_JAVA_UI)
504 extern const char kNtpCollapsedCurrentlyOpenTabs[]; 504 extern const char kNtpCollapsedCurrentlyOpenTabs[];
505 #endif 505 #endif
506 extern const char kNtpCollapsedForeignSessions[]; 506 extern const char kNtpCollapsedForeignSessions[];
507 #if defined(OS_ANDROID) 507 #if BUILDFLAG(ANDROID_JAVA_UI)
508 extern const char kNtpCollapsedRecentlyClosedTabs[]; 508 extern const char kNtpCollapsedRecentlyClosedTabs[];
509 extern const char kNtpCollapsedSnapshotDocument[]; 509 extern const char kNtpCollapsedSnapshotDocument[];
510 extern const char kNtpCollapsedSyncPromo[]; 510 extern const char kNtpCollapsedSyncPromo[];
511 #endif 511 #endif
512 extern const char kNtpShownPage[]; 512 extern const char kNtpShownPage[];
513 #if defined(OS_ANDROID) 513 #if BUILDFLAG(ANDROID_JAVA_UI)
514 extern const char kNTPSuggestionsURL[]; 514 extern const char kNTPSuggestionsURL[];
515 extern const char kNTPSuggestionsIsPersonal[]; 515 extern const char kNTPSuggestionsIsPersonal[];
516 #endif 516 #endif
517 517
518 extern const char kDevToolsAdbKey[]; 518 extern const char kDevToolsAdbKey[];
519 extern const char kDevToolsDisabled[]; 519 extern const char kDevToolsDisabled[];
520 extern const char kDevToolsDiscoverUsbDevicesEnabled[]; 520 extern const char kDevToolsDiscoverUsbDevicesEnabled[];
521 extern const char kDevToolsEditedFiles[]; 521 extern const char kDevToolsEditedFiles[];
522 extern const char kDevToolsFileSystemPaths[]; 522 extern const char kDevToolsFileSystemPaths[];
523 extern const char kDevToolsPortForwardingEnabled[]; 523 extern const char kDevToolsPortForwardingEnabled[];
(...skipping 20 matching lines...) Expand all
544 extern const char kCrossDevicePromoNextFetchListDevicesTime[]; 544 extern const char kCrossDevicePromoNextFetchListDevicesTime[];
545 extern const char kCrossDevicePromoNumDevices[]; 545 extern const char kCrossDevicePromoNumDevices[];
546 extern const char kCrossDevicePromoLastDeviceActiveTime[]; 546 extern const char kCrossDevicePromoLastDeviceActiveTime[];
547 #endif 547 #endif
548 548
549 extern const char kWebAppCreateOnDesktop[]; 549 extern const char kWebAppCreateOnDesktop[];
550 extern const char kWebAppCreateInAppsMenu[]; 550 extern const char kWebAppCreateInAppsMenu[];
551 extern const char kWebAppCreateInQuickLaunchBar[]; 551 extern const char kWebAppCreateInQuickLaunchBar[];
552 552
553 extern const char kGeolocationAccessToken[]; 553 extern const char kGeolocationAccessToken[];
554 #if defined(OS_ANDROID) 554 #if BUILDFLAG(ANDROID_JAVA_UI)
555 extern const char kGeolocationEnabled[]; 555 extern const char kGeolocationEnabled[];
556 #endif 556 #endif
557 557
558 #if BUILDFLAG(ENABLE_GOOGLE_NOW) 558 #if BUILDFLAG(ENABLE_GOOGLE_NOW)
559 extern const char kGoogleGeolocationAccessEnabled[]; 559 extern const char kGoogleGeolocationAccessEnabled[];
560 #endif 560 #endif
561 extern const char kGoogleNowLauncherEnabled[]; 561 extern const char kGoogleNowLauncherEnabled[];
562 562
563 extern const char kDefaultAudioCaptureDevice[]; 563 extern const char kDefaultAudioCaptureDevice[];
564 extern const char kDefaultVideoCaptureDevice[]; 564 extern const char kDefaultVideoCaptureDevice[];
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 #endif 759 #endif
760 extern const char kAppShortcutsVersion[]; 760 extern const char kAppShortcutsVersion[];
761 761
762 extern const char kModuleConflictBubbleShown[]; 762 extern const char kModuleConflictBubbleShown[];
763 763
764 extern const char kDRMSalt[]; 764 extern const char kDRMSalt[];
765 extern const char kEnableDRM[]; 765 extern const char kEnableDRM[];
766 766
767 extern const char kWatchdogExtensionActive[]; 767 extern const char kWatchdogExtensionActive[];
768 768
769 #if defined(OS_ANDROID) 769 #if BUILDFLAG(ANDROID_JAVA_UI)
770 extern const char kPartnerBookmarkMappings[]; 770 extern const char kPartnerBookmarkMappings[];
771 #endif 771 #endif
772 772
773 extern const char kQuickCheckEnabled[]; 773 extern const char kQuickCheckEnabled[];
774 extern const char kBrowserGuestModeEnabled[]; 774 extern const char kBrowserGuestModeEnabled[];
775 extern const char kBrowserAddPersonEnabled[]; 775 extern const char kBrowserAddPersonEnabled[];
776 776
777 extern const char kEasyUnlockDeviceId[]; 777 extern const char kEasyUnlockDeviceId[];
778 extern const char kEasyUnlockHardlockState[]; 778 extern const char kEasyUnlockHardlockState[];
779 extern const char kEasyUnlockLocalStateTpmKeys[]; 779 extern const char kEasyUnlockLocalStateTpmKeys[];
780 extern const char kEasyUnlockLocalStateUserPrefs[]; 780 extern const char kEasyUnlockLocalStateUserPrefs[];
781 781
782 extern const char kRecoveryComponentNeedsElevation[]; 782 extern const char kRecoveryComponentNeedsElevation[];
783 783
784 extern const char kRegisteredSupervisedUserWhitelists[]; 784 extern const char kRegisteredSupervisedUserWhitelists[];
785 785
786 #if defined(ENABLE_EXTENSIONS) 786 #if defined(ENABLE_EXTENSIONS)
787 extern const char kAnimationPolicy[]; 787 extern const char kAnimationPolicy[];
788 #endif 788 #endif
789 789
790 extern const char kBackgroundTracingLastUpload[]; 790 extern const char kBackgroundTracingLastUpload[];
791 791
792 extern const char kAllowDinosaurEasterEgg[]; 792 extern const char kAllowDinosaurEasterEgg[];
793 793
794 } // namespace prefs 794 } // namespace prefs
795 795
796 #endif // CHROME_COMMON_PREF_NAMES_H_ 796 #endif // CHROME_COMMON_PREF_NAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698