Don't compile save_password_infobar_delegate.cc everywhere but Mac and Android
[chromium-blink-merge.git] / chrome / common / pref_names.h
blobf1fac2d0b05ac8725bc9e1dac17769ffaeb3d4e2
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
3 // found in the LICENSE file.
5 // Constants for the names of various preferences, for easier changing.
7 #ifndef CHROME_COMMON_PREF_NAMES_H_
8 #define CHROME_COMMON_PREF_NAMES_H_
10 #include <stddef.h>
12 #include "build/build_config.h"
14 #include "components/autofill/core/common/autofill_pref_names.h"
15 #include "components/bookmarks/common/bookmark_pref_names.h"
16 #include "components/content_settings/core/common/pref_names.h"
17 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h"
18 #include "components/metrics/metrics_pref_names.h"
19 #include "components/password_manager/core/common/password_manager_pref_names.h"
20 #include "components/signin/core/common/signin_pref_names.h"
22 namespace prefs {
24 // Profile prefs. Please add Local State prefs below instead.
25 extern const char kChildAccountStatusKnown[];
26 extern const char kDefaultApps[];
27 extern const char kDisableScreenshots[];
28 extern const char kForceEphemeralProfiles[];
29 extern const char kHomePageIsNewTabPage[];
30 extern const char kHomePage[];
31 extern const char kProfileIconVersion[];
32 extern const char kRestoreOnStartup[];
33 extern const char kRestoreOnStartupMigrated[];
34 extern const char kRestoreStartupURLsMigrationTime[];
35 extern const char kSessionExitedCleanly[];
36 extern const char kSessionExitType[];
37 extern const char kSupervisedUserCustodianEmail[];
38 extern const char kSupervisedUserCustodianName[];
39 extern const char kSupervisedUserCustodianProfileImageURL[];
40 extern const char kSupervisedUserCustodianProfileURL[];
41 extern const char kSupervisedUserManualHosts[];
42 extern const char kSupervisedUserManualURLs[];
43 extern const char kSupervisedUserSafeSites[];
44 extern const char kSupervisedUserSecondCustodianEmail[];
45 extern const char kSupervisedUserSecondCustodianName[];
46 extern const char kSupervisedUserSecondCustodianProfileImageURL[];
47 extern const char kSupervisedUserSecondCustodianProfileURL[];
48 extern const char kSupervisedUserSharedSettings[];
49 extern const char kSupervisedUserWhitelists[];
50 extern const char kURLsToRestoreOnStartup[];
51 extern const char kURLsToRestoreOnStartupOld[];
53 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state
54 // and user's profile. Global property determines locale of login screen,
55 // while user's profile determines his personal locale preference.
56 extern const char kApplicationLocale[];
57 #if defined(OS_CHROMEOS)
58 extern const char kApplicationLocaleBackup[];
59 extern const char kApplicationLocaleAccepted[];
60 extern const char kOwnerLocale[];
61 #endif
63 extern const char kDefaultCharset[];
64 extern const char kAcceptLanguages[];
65 extern const char kStaticEncodings[];
66 extern const char kWebKitCommonScript[];
67 extern const char kWebKitStandardFontFamily[];
68 extern const char kWebKitFixedFontFamily[];
69 extern const char kWebKitSerifFontFamily[];
70 extern const char kWebKitSansSerifFontFamily[];
71 extern const char kWebKitCursiveFontFamily[];
72 extern const char kWebKitFantasyFontFamily[];
73 extern const char kWebKitPictographFontFamily[];
75 // ISO 15924 four-letter script codes that per-script font prefs are supported
76 // for.
77 extern const char* const kWebKitScriptsForFontFamilyMaps[];
78 extern const size_t kWebKitScriptsForFontFamilyMapsLength;
80 // Per-script font pref prefixes.
81 extern const char kWebKitStandardFontFamilyMap[];
82 extern const char kWebKitFixedFontFamilyMap[];
83 extern const char kWebKitSerifFontFamilyMap[];
84 extern const char kWebKitSansSerifFontFamilyMap[];
85 extern const char kWebKitCursiveFontFamilyMap[];
86 extern const char kWebKitFantasyFontFamilyMap[];
87 extern const char kWebKitPictographFontFamilyMap[];
89 // Per-script font prefs that have defaults, for easy reference when registering
90 // the defaults.
91 extern const char kWebKitStandardFontFamilyArabic[];
92 #if defined(OS_WIN)
93 extern const char kWebKitFixedFontFamilyArabic[];
94 #endif
95 extern const char kWebKitSerifFontFamilyArabic[];
96 extern const char kWebKitSansSerifFontFamilyArabic[];
97 #if defined(OS_WIN)
98 extern const char kWebKitStandardFontFamilyCyrillic[];
99 extern const char kWebKitFixedFontFamilyCyrillic[];
100 extern const char kWebKitSerifFontFamilyCyrillic[];
101 extern const char kWebKitSansSerifFontFamilyCyrillic[];
102 extern const char kWebKitStandardFontFamilyGreek[];
103 extern const char kWebKitFixedFontFamilyGreek[];
104 extern const char kWebKitSerifFontFamilyGreek[];
105 extern const char kWebKitSansSerifFontFamilyGreek[];
106 #endif
107 extern const char kWebKitStandardFontFamilyJapanese[];
108 extern const char kWebKitFixedFontFamilyJapanese[];
109 extern const char kWebKitSerifFontFamilyJapanese[];
110 extern const char kWebKitSansSerifFontFamilyJapanese[];
111 extern const char kWebKitStandardFontFamilyKorean[];
112 extern const char kWebKitFixedFontFamilyKorean[];
113 extern const char kWebKitSerifFontFamilyKorean[];
114 extern const char kWebKitSansSerifFontFamilyKorean[];
115 #if defined(OS_WIN)
116 extern const char kWebKitCursiveFontFamilyKorean[];
117 #endif
118 extern const char kWebKitStandardFontFamilySimplifiedHan[];
119 extern const char kWebKitFixedFontFamilySimplifiedHan[];
120 extern const char kWebKitSerifFontFamilySimplifiedHan[];
121 extern const char kWebKitSansSerifFontFamilySimplifiedHan[];
122 extern const char kWebKitStandardFontFamilyTraditionalHan[];
123 extern const char kWebKitFixedFontFamilyTraditionalHan[];
124 extern const char kWebKitSerifFontFamilyTraditionalHan[];
125 extern const char kWebKitSansSerifFontFamilyTraditionalHan[];
127 extern const char kWebKitDefaultFontSize[];
128 extern const char kWebKitDefaultFixedFontSize[];
129 extern const char kWebKitMinimumFontSize[];
130 extern const char kWebKitMinimumLogicalFontSize[];
131 extern const char kWebKitJavascriptEnabled[];
132 extern const char kWebKitWebSecurityEnabled[];
133 extern const char kWebKitJavascriptCanOpenWindowsAutomatically[];
134 extern const char kWebKitLoadsImagesAutomatically[];
135 extern const char kWebKitPluginsEnabled[];
136 extern const char kWebKitDomPasteEnabled[];
137 extern const char kWebKitUsesUniversalDetector[];
138 extern const char kWebKitTextAreasAreResizable[];
139 extern const char kWebkitTabsToLinks[];
140 extern const char kWebKitAllowDisplayingInsecureContent[];
141 extern const char kWebKitAllowRunningInsecureContent[];
142 #if defined(OS_ANDROID)
143 extern const char kWebKitFontScaleFactor[];
144 extern const char kWebKitForceEnableZoom[];
145 extern const char kWebKitPasswordEchoEnabled[];
146 #endif
147 extern const char kSafeBrowsingEnabled[];
148 extern const char kSafeBrowsingExtendedReportingEnabled[];
149 extern const char kSafeBrowsingProceedAnywayDisabled[];
150 extern const char kSafeBrowsingIncidentsSent[];
151 extern const char kSafeBrowsingExtendedReportingOptInAllowed[];
152 extern const char kSSLErrorOverrideAllowed[];
153 extern const char kIncognitoModeAvailability[];
154 extern const char kSearchSuggestEnabled[];
155 #if defined(OS_ANDROID)
156 extern const char kContextualSearchEnabled[];
157 #endif
158 #if defined(OS_MACOSX)
159 extern const char kConfirmToQuitEnabled[];
160 #endif
161 extern const char kPromptForDownload[];
162 extern const char kAlternateErrorPagesEnabled[];
163 extern const char kDnsPrefetchingStartupList[];
164 extern const char kDnsPrefetchingHostReferralList[];
165 extern const char kDisableSpdy[];
166 extern const char kHttpServerProperties[];
167 #if defined(OS_ANDROID) || defined(OS_IOS)
168 extern const char kLastPolicyCheckTime[];
169 #endif
170 extern const char kInstantUIZeroSuggestUrlPrefix[];
171 extern const char kNetworkPredictionEnabled[];
172 extern const char kNetworkPredictionOptions[];
173 extern const char kDefaultAppsInstallState[];
174 extern const char kHideWebStoreIcon[];
175 #if defined(OS_CHROMEOS)
176 extern const char kTapToClickEnabled[];
177 extern const char kTapDraggingEnabled[];
178 extern const char kEnableTouchpadThreeFingerClick[];
179 extern const char kNaturalScroll[];
180 extern const char kPrimaryMouseButtonRight[];
181 extern const char kMouseSensitivity[];
182 extern const char kTouchpadSensitivity[];
183 extern const char kUse24HourClock[];
184 extern const char kResolveTimezoneByGeolocation[];
185 // TODO(yusukes): Change "kLanguageABC" to "kABC". The current form is too long
186 // to remember and confusing. The prefs are actually for input methods and i18n
187 // keyboards, not UI languages.
188 extern const char kLanguageCurrentInputMethod[];
189 extern const char kLanguagePreviousInputMethod[];
190 extern const char kLanguagePreferredLanguages[];
191 extern const char kLanguagePreferredLanguagesSyncable[];
192 extern const char kLanguagePreloadEngines[];
193 extern const char kLanguagePreloadEnginesSyncable[];
194 extern const char kLanguageEnabledExtensionImes[];
195 extern const char kLanguageEnabledExtensionImesSyncable[];
196 extern const char kLanguageShouldMergeInputMethods[];
197 extern const char kLanguageRemapCapsLockKeyTo[];
198 extern const char kLanguageRemapSearchKeyTo[];
199 extern const char kLanguageRemapControlKeyTo[];
200 extern const char kLanguageRemapAltKeyTo[];
201 extern const char kLanguageRemapDiamondKeyTo[];
202 extern const char kLanguageSendFunctionKeys[];
203 extern const char kLanguageXkbAutoRepeatEnabled[];
204 extern const char kLanguageXkbAutoRepeatDelay[];
205 extern const char kLanguageXkbAutoRepeatInterval[];
206 extern const char kAccessibilityLargeCursorEnabled[];
207 extern const char kAccessibilityStickyKeysEnabled[];
208 extern const char kAccessibilitySpokenFeedbackEnabled[];
209 extern const char kAccessibilityHighContrastEnabled[];
210 extern const char kAccessibilityScreenMagnifierCenterFocus[];
211 extern const char kAccessibilityScreenMagnifierEnabled[];
212 extern const char kAccessibilityScreenMagnifierType[];
213 extern const char kAccessibilityScreenMagnifierScale[];
214 extern const char kAccessibilityVirtualKeyboardEnabled[];
215 extern const char kAccessibilityAutoclickEnabled[];
216 extern const char kAccessibilityAutoclickDelayMs[];
217 extern const char kShouldAlwaysShowAccessibilityMenu[];
218 extern const char kLabsAdvancedFilesystemEnabled[];
219 extern const char kLabsMediaplayerEnabled[];
220 extern const char kEnableAutoScreenLock[];
221 extern const char kShow3gPromoNotification[];
222 extern const char kDataSaverPromptsShown[];
223 extern const char kChromeOSReleaseNotesVersion[];
224 extern const char kUseSharedProxies[];
225 extern const char kDisplayPowerState[];
226 extern const char kDisplayProperties[];
227 extern const char kSecondaryDisplays[];
228 extern const char kDisplayRotationLock[];
229 extern const char kSessionUserActivitySeen[];
230 extern const char kSessionStartTime[];
231 extern const char kSessionLengthLimit[];
232 extern const char kSessionWaitForInitialUserActivity[];
233 extern const char kPowerAcScreenDimDelayMs[];
234 extern const char kPowerAcScreenOffDelayMs[];
235 extern const char kPowerAcScreenLockDelayMs[];
236 extern const char kPowerAcIdleWarningDelayMs[];
237 extern const char kPowerAcIdleDelayMs[];
238 extern const char kPowerBatteryScreenDimDelayMs[];
239 extern const char kPowerBatteryScreenOffDelayMs[];
240 extern const char kPowerBatteryScreenLockDelayMs[];
241 extern const char kPowerBatteryIdleWarningDelayMs[];
242 extern const char kPowerBatteryIdleDelayMs[];
243 extern const char kPowerLockScreenDimDelayMs[];
244 extern const char kPowerLockScreenOffDelayMs[];
245 extern const char kPowerAcIdleAction[];
246 extern const char kPowerBatteryIdleAction[];
247 extern const char kPowerLidClosedAction[];
248 extern const char kPowerUseAudioActivity[];
249 extern const char kPowerUseVideoActivity[];
250 extern const char kPowerAllowScreenWakeLocks[];
251 extern const char kPowerPresentationScreenDimDelayFactor[];
252 extern const char kPowerUserActivityScreenDimDelayFactor[];
253 extern const char kPowerWaitForInitialUserActivity[];
254 extern const char kPowerForceNonzeroBrightnessForUserActivity[];
255 extern const char kTermsOfServiceURL[];
256 extern const char kUsedPolicyCertificatesOnce[];
257 extern const char kAttestationEnabled[];
258 extern const char kAttestationExtensionWhitelist[];
259 extern const char kTouchHudProjectionEnabled[];
260 extern const char kOpenNetworkConfiguration[];
261 extern const char kMultiProfileNeverShowIntro[];
262 extern const char kMultiProfileWarningShowDismissed[];
263 extern const char kMultiProfileUserBehavior[];
264 extern const char kFirstRunTutorialShown[];
265 extern const char kSAMLOfflineSigninTimeLimit[];
266 extern const char kSAMLLastGAIASignInTime[];
267 extern const char kTimeOnOobe[];
268 extern const char kCurrentWallpaperAppName[];
269 extern const char kFileSystemProviderMounted[];
270 extern const char kTouchVirtualKeyboardEnabled[];
271 extern const char kWakeOnWifiSsid[];
272 extern const char kCaptivePortalAuthenticationIgnoresProxy[];
273 extern const char kForceMaximizeOnFirstRun[];
274 extern const char kPlatformKeys[];
275 #endif // defined(OS_CHROMEOS)
276 extern const char kShowHomeButton[];
277 extern const char kRecentlySelectedEncoding[];
278 extern const char kDeleteBrowsingHistory[];
279 extern const char kDeleteDownloadHistory[];
280 extern const char kDeleteCache[];
281 extern const char kDeleteCookies[];
282 extern const char kDeletePasswords[];
283 extern const char kDeleteFormData[];
284 extern const char kDeleteHostedAppsData[];
285 extern const char kDeauthorizeContentLicenses[];
286 extern const char kEnableContinuousSpellcheck[];
287 extern const char kSpeechRecognitionFilterProfanities[];
288 extern const char kEnabledLabsExperiments[];
289 extern const char kEnableAutoSpellCorrect[];
290 extern const char kSavingBrowserHistoryDisabled[];
291 extern const char kAllowDeletingBrowserHistory[];
292 extern const char kForceGoogleSafeSearch[];
293 extern const char kForceYouTubeSafetyMode[];
294 extern const char kRecordHistory[];
295 extern const char kDeleteTimePeriod[];
296 extern const char kLastClearBrowsingDataTime[];
297 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
298 extern const char kUsesSystemTheme[];
299 #endif
300 extern const char kCurrentThemePackFilename[];
301 extern const char kCurrentThemeID[];
302 extern const char kCurrentThemeImages[];
303 extern const char kCurrentThemeColors[];
304 extern const char kCurrentThemeTints[];
305 extern const char kCurrentThemeDisplayProperties[];
306 extern const char kExtensionsUIDeveloperMode[];
307 extern const char kExtensionsUIDismissedADTPromo[];
308 extern const char kExtensionCommands[];
309 extern const char kPluginsLastInternalDirectory[];
310 extern const char kPluginsPluginsList[];
311 extern const char kPluginsDisabledPlugins[];
312 extern const char kPluginsDisabledPluginsExceptions[];
313 extern const char kPluginsEnabledPlugins[];
314 extern const char kNpapiFlashMigratedToPepperFlash[];
315 #if defined(ENABLE_PLUGINS)
316 extern const char kPluginsShowDetails[];
317 #endif
318 extern const char kPluginsAllowOutdated[];
319 extern const char kPluginsAlwaysAuthorize[];
320 #if defined(ENABLE_PLUGIN_INSTALLATION)
321 extern const char kPluginsMetadata[];
322 extern const char kPluginsResourceCacheUpdate[];
323 #endif
324 extern const char kCheckDefaultBrowser[];
325 extern const char kDefaultBrowserSettingEnabled[];
326 #if defined(OS_MACOSX)
327 extern const char kShowUpdatePromotionInfoBar[];
328 #endif
329 extern const char kUseCustomChromeFrame[];
330 #if defined(ENABLE_PLUGINS)
331 extern const char kContentSettingsPluginWhitelist[];
332 #endif
333 extern const char kPartitionDefaultZoomLevel[];
334 extern const char kPartitionPerHostZoomLevels[];
335 extern const char kAutofillDialogAutofillDefault[];
336 extern const char kAutofillDialogPayWithoutWallet[];
337 extern const char kAutofillDialogWalletLocationAcceptance[];
338 extern const char kAutofillDialogSaveData[];
339 extern const char kAutofillDialogWalletShippingSameAsBilling[];
340 extern const char kAutofillGeneratedCardBubbleTimesShown[];
341 #if defined(OS_ANDROID)
342 extern const char kAutofillDialogDefaults[];
343 #endif
345 #if !defined(OS_ANDROID)
346 extern const char kPinnedTabs[];
347 #endif
349 extern const char kDisable3DAPIs[];
350 extern const char kEnableDeprecatedWebPlatformFeatures[];
351 extern const char kEnableHyperlinkAuditing[];
352 extern const char kEnableReferrers[];
353 extern const char kEnableDoNotTrack[];
355 extern const char kImportAutofillFormData[];
356 extern const char kImportBookmarks[];
357 extern const char kImportHistory[];
358 extern const char kImportHomepage[];
359 extern const char kImportSavedPasswords[];
360 extern const char kImportSearchEngine[];
362 extern const char kProfileAvatarIndex[];
363 extern const char kProfileUsingDefaultName[];
364 extern const char kProfileName[];
365 extern const char kProfileUsingDefaultAvatar[];
366 extern const char kProfileUsingGAIAAvatar[];
367 extern const char kSupervisedUserId[];
369 extern const char kProfileGAIAInfoUpdateTime[];
370 extern const char kProfileGAIAInfoPictureURL[];
372 extern const char kProfileAvatarTutorialShown[];
373 extern const char kProfileAvatarRightClickTutorialDismissed[];
375 extern const char kInvertNotificationShown[];
377 extern const char kPrintingEnabled[];
378 extern const char kPrintPreviewDisabled[];
380 extern const char kDefaultSupervisedUserFilteringBehavior[];
382 extern const char kSupervisedUserCreationAllowed[];
383 extern const char kSupervisedUsers[];
385 extern const char kProfileResetPromptMementoInProfilePrefs[];
387 extern const char kMessageCenterDisabledExtensionIds[];
388 extern const char kMessageCenterDisabledSystemComponentIds[];
389 extern const char kWelcomeNotificationDismissed[];
390 extern const char kWelcomeNotificationDismissedLocal[];
391 extern const char kWelcomeNotificationPreviouslyPoppedUp[];
392 extern const char kWelcomeNotificationExpirationTimestamp[];
394 extern const char kFullscreenAllowed[];
396 extern const char kLocalDiscoveryNotificationsEnabled[];
398 extern const char kPushMessagingRegistrationCount[];
399 extern const char kPushMessagingAppIdentifierMap[];
401 extern const char kEasyUnlockAllowed[];
402 extern const char kEasyUnlockEnabled[];
403 extern const char kEasyUnlockPairing[];
404 extern const char kEasyUnlockProximityRequired[];
406 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS)
407 extern const char kCopresenceAuthenticatedDeviceId[];
408 extern const char kCopresenceAnonymousDeviceId[];
409 extern const char kToolbarIconSurfacingBubbleAcknowledged[];
410 extern const char kToolbarIconSurfacingBubbleLastShowTime[];
411 #endif
413 #if defined(ENABLE_WEBRTC)
414 extern const char kWebRTCMultipleRoutesEnabled[];
415 extern const char kWebRTCNonProxiedUdpEnabled[];
416 #endif
418 // Local state prefs. Please add Profile prefs above instead.
419 extern const char kCertRevocationCheckingEnabled[];
420 extern const char kCertRevocationCheckingRequiredLocalAnchors[];
421 extern const char kSSLVersionMin[];
422 extern const char kSSLVersionMax[];
423 extern const char kSSLVersionFallbackMin[];
424 extern const char kCipherSuiteBlacklist[];
425 extern const char kDisableSSLRecordSplitting[];
427 extern const char kGLVendorString[];
428 extern const char kGLRendererString[];
429 extern const char kGLVersionString[];
431 extern const char kMetricsReportingEnabled[];
433 // Android has it's own metric / crash reporting implemented in Android
434 // Java code so kMetricsReportingEnabled doesn't make sense. We use this
435 // to inform crashes_ui that we have enabled crash reporting.
436 #if defined(OS_ANDROID)
437 extern const char kCrashReportingEnabled[];
438 #endif
440 extern const char kDeviceOpenNetworkConfiguration[];
442 extern const char kProfileLastUsed[];
443 extern const char kProfilesLastActive[];
444 extern const char kProfilesNumCreated[];
445 extern const char kProfileInfoCache[];
446 extern const char kProfileCreatedByVersion[];
447 extern const char kProfileResetPromptMementosInLocalState[];
449 extern const char kStabilityPageLoadCount[];
450 extern const char kStabilityRendererCrashCount[];
451 extern const char kStabilityRendererFailedLaunchCount[];
452 extern const char kStabilityExtensionRendererCrashCount[];
453 extern const char kStabilityExtensionRendererFailedLaunchCount[];
454 extern const char kStabilityRendererHangCount[];
455 extern const char kStabilityChildProcessCrashCount[];
456 extern const char kStabilityOtherUserCrashCount[];
457 extern const char kStabilityKernelCrashCount[];
458 extern const char kStabilitySystemUncleanShutdownCount[];
459 #if defined(OS_ANDROID)
460 extern const char kStabilityForegroundActivityType[];
461 extern const char kStabilityLaunchedActivityFlags[];
462 extern const char kStabilityLaunchedActivityCounts[];
463 extern const char kStabilityCrashedActivityCounts[];
464 #endif
466 extern const char kStabilityPluginStats[];
467 extern const char kStabilityPluginName[];
468 extern const char kStabilityPluginLaunches[];
469 extern const char kStabilityPluginInstances[];
470 extern const char kStabilityPluginCrashes[];
471 extern const char kStabilityPluginLoadingErrors[];
473 extern const char kUninstallMetricsPageLoadCount[];
474 extern const char kUninstallLastLaunchTimeSec[];
475 extern const char kUninstallLastObservedRunTimeSec[];
477 extern const char kBrowserSuppressDefaultBrowserPrompt[];
479 extern const char kBrowserWindowPlacement[];
480 extern const char kBrowserWindowPlacementPopup[];
481 extern const char kTaskManagerWindowPlacement[];
482 extern const char kTaskManagerColumnVisibility[];
483 extern const char kAppWindowPlacement[];
485 extern const char kDownloadDefaultDirectory[];
486 extern const char kDownloadExtensionsToOpen[];
487 extern const char kDownloadDirUpgraded[];
488 #if defined(OS_WIN) || defined(OS_LINUX) || \
489 (defined(OS_MACOSX) && !defined(OS_IOS))
490 extern const char kOpenPdfDownloadInSystemReader[];
491 #endif
493 extern const char kSaveFileDefaultDirectory[];
494 extern const char kSaveFileType[];
496 extern const char kAllowFileSelectionDialogs[];
497 extern const char kDefaultTasksByMimeType[];
498 extern const char kDefaultTasksBySuffix[];
500 extern const char kSelectFileLastDirectory[];
502 extern const char kHungPluginDetectFrequency[];
503 extern const char kPluginMessageResponseTimeout[];
505 extern const char kSpellCheckDictionaries[];
506 extern const char kSpellCheckDictionary[];
507 extern const char kSpellCheckUseSpellingService[];
509 extern const char kExcludedSchemes[];
511 extern const char kOptionsWindowLastTabIndex[];
512 extern const char kShowFirstRunBubbleOption[];
514 extern const char kLastKnownIntranetRedirectOrigin[];
516 extern const char kShutdownType[];
517 extern const char kShutdownNumProcesses[];
518 extern const char kShutdownNumProcessesSlow[];
520 extern const char kRestartLastSessionOnShutdown[];
521 extern const char kWasRestarted[];
522 #if defined(OS_WIN)
523 extern const char kRelaunchMode[];
524 #endif
526 extern const char kDisableExtensions[];
527 extern const char kDisablePluginFinder[];
529 extern const char kNtpAppPageNames[];
530 #if defined(OS_ANDROID)
531 extern const char kNtpCollapsedCurrentlyOpenTabs[];
532 #endif
533 extern const char kNtpCollapsedForeignSessions[];
534 #if defined(OS_ANDROID)
535 extern const char kNtpCollapsedRecentlyClosedTabs[];
536 extern const char kNtpCollapsedSnapshotDocument[];
537 extern const char kNtpCollapsedSyncPromo[];
538 #endif
539 extern const char kNtpShownPage[];
540 #if defined(OS_ANDROID)
541 extern const char kNTPSuggestionsURL[];
542 extern const char kNTPSuggestionsIsPersonal[];
543 #endif
545 extern const char kDevToolsAdbKey[];
546 extern const char kDevToolsDisabled[];
547 extern const char kDevToolsDiscoverUsbDevicesEnabled[];
548 extern const char kDevToolsEditedFiles[];
549 extern const char kDevToolsFileSystemPaths[];
550 extern const char kDevToolsPortForwardingEnabled[];
551 extern const char kDevToolsPortForwardingDefaultSet[];
552 extern const char kDevToolsPortForwardingConfig[];
553 extern const char kDevToolsPreferences[];
554 #if defined(OS_ANDROID)
555 extern const char kDevToolsRemoteEnabled[];
556 #endif
558 extern const char kGoogleServicesPasswordHash[];
560 extern const char kInvalidationServiceUseGCMChannel[];
562 #if !defined(OS_ANDROID) && !defined(OS_IOS)
563 extern const char kSignInPromoStartupCount[];
564 extern const char kSignInPromoUserSkipped[];
565 extern const char kSignInPromoShowOnFirstRunAllowed[];
566 extern const char kSignInPromoShowNTPBubble[];
567 #endif
569 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS)
570 extern const char kCrossDevicePromoOptedOut[];
571 extern const char kCrossDevicePromoShouldBeShown[];
572 extern const char kCrossDevicePromoObservedSingleAccountCookie[];
573 extern const char kCrossDevicePromoNextFetchListDevicesTime[];
574 extern const char kCrossDevicePromoNumDevices[];
575 extern const char kCrossDevicePromoLastDeviceActiveTime[];
576 #endif
578 extern const char kWebAppCreateOnDesktop[];
579 extern const char kWebAppCreateInAppsMenu[];
580 extern const char kWebAppCreateInQuickLaunchBar[];
582 extern const char kGeolocationAccessToken[];
583 #if defined(OS_ANDROID)
584 extern const char kGeolocationEnabled[];
585 #endif
587 #if defined(ENABLE_GOOGLE_NOW)
588 extern const char kGoogleGeolocationAccessEnabled[];
589 #endif
590 extern const char kGoogleNowLauncherEnabled[];
592 extern const char kDefaultAudioCaptureDevice[];
593 extern const char kDefaultVideoCaptureDevice[];
594 extern const char kMediaDeviceIdSalt[];
596 extern const char kPrintPreviewStickySettings[];
597 extern const char kCloudPrintRoot[];
598 extern const char kCloudPrintProxyEnabled[];
599 extern const char kCloudPrintProxyId[];
600 extern const char kCloudPrintAuthToken[];
601 extern const char kCloudPrintEmail[];
602 extern const char kCloudPrintPrintSystemSettings[];
603 extern const char kCloudPrintEnableJobPoll[];
604 extern const char kCloudPrintRobotRefreshToken[];
605 extern const char kCloudPrintRobotEmail[];
606 extern const char kCloudPrintConnectNewPrinters[];
607 extern const char kCloudPrintXmppPingEnabled[];
608 extern const char kCloudPrintXmppPingTimeout[];
609 extern const char kCloudPrintPrinters[];
610 extern const char kCloudPrintSubmitEnabled[];
611 extern const char kCloudPrintUserSettings[];
613 extern const char kMaxConnectionsPerProxy[];
615 extern const char kAudioCaptureAllowed[];
616 extern const char kAudioCaptureAllowedUrls[];
617 extern const char kVideoCaptureAllowed[];
618 extern const char kVideoCaptureAllowedUrls[];
620 extern const char kHotwordSearchEnabled[];
621 extern const char kHotwordAlwaysOnSearchEnabled[];
622 extern const char kHotwordAlwaysOnNotificationSeen[];
623 extern const char kHotwordAudioLoggingEnabled[];
624 extern const char kHotwordPreviousLanguage[];
626 #if defined(OS_ANDROID)
627 extern const char kProtectedMediaIdentifierEnabled[];
628 #endif
630 #if defined(OS_CHROMEOS)
631 extern const char kDeviceSettingsCache[];
632 extern const char kHardwareKeyboardLayout[];
633 extern const char kCarrierDealPromoShown[];
634 extern const char kShouldAutoEnroll[];
635 extern const char kAutoEnrollmentPowerLimit[];
636 extern const char kDeviceActivityTimes[];
637 extern const char kDeviceLocation[];
638 extern const char kExternalStorageDisabled[];
639 extern const char kOwnerPrimaryMouseButtonRight[];
640 extern const char kOwnerTapToClickEnabled[];
641 extern const char kUptimeLimit[];
642 extern const char kRebootAfterUpdate[];
643 extern const char kDeviceRobotAnyApiRefreshToken[];
644 extern const char kDeviceEnrollmentRequisition[];
645 extern const char kDeviceEnrollmentAutoStart[];
646 extern const char kDeviceEnrollmentCanExit[];
647 extern const char kTimesHIDDialogShown[];
648 extern const char kUsersLRUInputMethod[];
649 extern const char kEchoCheckedOffers[];
650 extern const char kCachedMultiProfileUserBehavior[];
651 extern const char kInitialLocale[];
652 extern const char kOobeComplete[];
653 extern const char kOobeScreenPending[];
654 extern const char kDeviceRegistered[];
655 extern const char kEnrollmentRecoveryRequired[];
656 extern const char kUsedPolicyCertificates[];
657 extern const char kServerBackedDeviceState[];
658 extern const char kCustomizationDefaultWallpaperURL[];
659 extern const char kLogoutStartedLast[];
660 extern const char kConsumerManagementStage[];
661 #endif // defined(OS_CHROMEOS)
663 extern const char kClearPluginLSODataEnabled[];
664 extern const char kPepperFlashSettingsEnabled[];
665 extern const char kDiskCacheDir[];
666 extern const char kDiskCacheSize[];
667 extern const char kMediaCacheSize[];
669 extern const char kChromeOsReleaseChannel[];
671 extern const char kPerformanceTracingEnabled[];
673 extern const char kTabStripStackedLayout[];
675 extern const char kRegisteredBackgroundContents[];
677 #if defined(OS_WIN)
678 extern const char kLastWelcomedOSVersion[];
679 extern const char kShownAutoLaunchInfobar[];
680 extern const char kWelcomePageOnOSUpgradeEnabled[];
681 #endif
683 extern const char kAuthSchemes[];
684 extern const char kDisableAuthNegotiateCnameLookup[];
685 extern const char kEnableAuthNegotiatePort[];
686 extern const char kAuthServerWhitelist[];
687 extern const char kAuthNegotiateDelegateWhitelist[];
688 extern const char kGSSAPILibraryName[];
689 extern const char kAuthAndroidNegotiateAccountType[];
690 extern const char kAllowCrossOriginAuthPrompt[];
692 extern const char kBuiltInDnsClientEnabled[];
694 extern const char kRegisteredProtocolHandlers[];
695 extern const char kIgnoredProtocolHandlers[];
696 extern const char kPolicyRegisteredProtocolHandlers[];
697 extern const char kPolicyIgnoredProtocolHandlers[];
698 extern const char kCustomHandlersEnabled[];
700 #if defined(OS_MACOSX)
701 extern const char kUserRemovedLoginItem[];
702 extern const char kChromeCreatedLoginItem[];
703 extern const char kMigratedLoginItemPref[];
704 extern const char kNotifyWhenAppsKeepChromeAlive[];
705 #endif
707 extern const char kBackgroundModeEnabled[];
708 extern const char kHardwareAccelerationModeEnabled[];
709 extern const char kHardwareAccelerationModePrevious[];
711 extern const char kDevicePolicyRefreshRate[];
713 extern const char kFactoryResetRequested[];
714 extern const char kDebuggingFeaturesRequested[];
716 extern const char kMessageCenterShowedFirstRunBalloon[];
717 extern const char kMessageCenterShowIcon[];
718 extern const char kMessageCenterForcedOnTaskbar[];
720 #if defined(OS_CHROMEOS)
721 extern const char kResolveDeviceTimezoneByGeolocation[];
722 #endif // defined(OS_CHROMEOS)
724 extern const char kAttemptedToEnableAutoupdate[];
726 extern const char kMediaGalleriesUniqueId[];
727 extern const char kMediaGalleriesRememberedGalleries[];
728 extern const char kMediaGalleriesLastScanTime[];
730 #if defined(USE_ASH)
731 extern const char kShelfAlignment[];
732 extern const char kShelfAlignmentLocal[];
733 extern const char kShelfAutoHideBehavior[];
734 extern const char kShelfAutoHideBehaviorLocal[];
735 extern const char kShelfChromeIconIndex[];
736 extern const char kShelfPreferences[];
738 extern const char kLogoutDialogDurationMs[];
739 extern const char kPinnedLauncherApps[];
740 extern const char kShowLogoutButtonInTray[];
741 #endif
743 #if defined(USE_AURA)
744 extern const char kMaxSeparationForGestureTouchesInPixels[];
745 extern const char kSemiLongPressTimeInMs[];
746 extern const char kTabScrubActivationDelayInMs[];
747 extern const char kFlingMaxCancelToDownTimeInMs[];
748 extern const char kFlingMaxTapGapTimeInMs[];
749 extern const char kOverscrollHorizontalThresholdComplete[];
750 extern const char kOverscrollVerticalThresholdComplete[];
751 extern const char kOverscrollMinimumThresholdStart[];
752 extern const char kOverscrollMinimumThresholdStartTouchpad[];
753 extern const char kOverscrollVerticalThresholdStart[];
754 extern const char kOverscrollHorizontalResistThreshold[];
755 extern const char kOverscrollVerticalResistThreshold[];
756 #endif
758 #if defined(OS_WIN)
759 extern const char kNetworkProfileWarningsLeft[];
760 extern const char kNetworkProfileLastWarningTime[];
761 #endif
763 #if defined(OS_CHROMEOS)
764 extern const char kRLZBrand[];
765 extern const char kRLZDisabled[];
766 #endif
768 #if defined(ENABLE_APP_LIST)
769 extern const char kAppListProfile[];
770 extern const char kLastAppListLaunchPing[];
771 extern const char kAppListLaunchCount[];
772 extern const char kLastAppListAppLaunchPing[];
773 extern const char kAppListAppLaunchCount[];
774 extern const char kAppLauncherHasBeenEnabled[];
775 extern const char kAppListEnableMethod[];
776 extern const char kAppListEnableTime[];
777 extern const char kAppListLastLaunchTime[];
778 #if defined(OS_MACOSX)
779 extern const char kAppLauncherShortcutVersion[];
780 #endif
781 extern const char kShowAppLauncherPromo[];
782 extern const char kAppLauncherDriveAppMapping[];
783 extern const char kAppLauncherUninstalledDriveApps[];
784 #endif // defined(ENABLE_APP_LIST)
786 #if defined(OS_WIN)
787 extern const char kAppLaunchForMetroRestart[];
788 extern const char kAppLaunchForMetroRestartProfile[];
789 #endif
790 extern const char kAppShortcutsVersion[];
792 extern const char kModuleConflictBubbleShown[];
794 extern const char kDRMSalt[];
795 extern const char kEnableDRM[];
797 extern const char kWatchdogExtensionActive[];
799 #if defined(OS_ANDROID)
800 extern const char kPartnerBookmarkMappings[];
801 #endif
803 extern const char kQuickCheckEnabled[];
804 extern const char kBrowserGuestModeEnabled[];
805 extern const char kBrowserAddPersonEnabled[];
807 extern const char kEasyUnlockDeviceId[];
808 extern const char kEasyUnlockHardlockState[];
809 extern const char kEasyUnlockLocalStateTpmKeys[];
810 extern const char kEasyUnlockLocalStateUserPrefs[];
812 extern const char kRecoveryComponentNeedsElevation[];
814 extern const char kRegisteredSupervisedUserWhitelists[];
816 #if defined(ENABLE_EXTENSIONS)
817 extern const char kAnimationPolicy[];
818 #endif
820 extern const char kBackgroundTracingLastUpload[];
822 } // namespace prefs
824 #endif // CHROME_COMMON_PREF_NAMES_H_