Add ICU message format support
[chromium-blink-merge.git] / chrome / common / pref_names.h
blob384a6dd4e7cf242666f5aeb03f9bb5e36cce2943
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 kWebKitJavaEnabled[];
140 extern const char kWebkitTabsToLinks[];
141 extern const char kWebKitAllowDisplayingInsecureContent[];
142 extern const char kWebKitAllowRunningInsecureContent[];
143 #if defined(OS_ANDROID)
144 extern const char kWebKitFontScaleFactor[];
145 extern const char kWebKitForceEnableZoom[];
146 extern const char kWebKitPasswordEchoEnabled[];
147 #endif
148 extern const char kSafeBrowsingEnabled[];
149 extern const char kSafeBrowsingExtendedReportingEnabled[];
150 extern const char kSafeBrowsingProceedAnywayDisabled[];
151 extern const char kSafeBrowsingIncidentsSent[];
152 extern const char kSafeBrowsingExtendedReportingOptInAllowed[];
153 extern const char kSSLErrorOverrideAllowed[];
154 extern const char kIncognitoModeAvailability[];
155 extern const char kSearchSuggestEnabled[];
156 #if defined(OS_ANDROID)
157 extern const char kContextualSearchEnabled[];
158 #endif
159 #if defined(OS_MACOSX)
160 extern const char kConfirmToQuitEnabled[];
161 #endif
162 extern const char kPromptForDownload[];
163 extern const char kAlternateErrorPagesEnabled[];
164 extern const char kDnsPrefetchingStartupList[];
165 extern const char kDnsPrefetchingHostReferralList[];
166 extern const char kDisableSpdy[];
167 extern const char kHttpServerProperties[];
168 #if defined(OS_ANDROID) || defined(OS_IOS)
169 extern const char kLastPolicyCheckTime[];
170 #endif
171 extern const char kInstantUIZeroSuggestUrlPrefix[];
172 extern const char kNetworkPredictionEnabled[];
173 extern const char kNetworkPredictionOptions[];
174 extern const char kDefaultAppsInstallState[];
175 extern const char kHideWebStoreIcon[];
176 #if defined(OS_CHROMEOS)
177 extern const char kTapToClickEnabled[];
178 extern const char kTapDraggingEnabled[];
179 extern const char kEnableTouchpadThreeFingerClick[];
180 extern const char kNaturalScroll[];
181 extern const char kPrimaryMouseButtonRight[];
182 extern const char kMouseSensitivity[];
183 extern const char kTouchpadSensitivity[];
184 extern const char kUse24HourClock[];
185 extern const char kResolveTimezoneByGeolocation[];
186 // TODO(yusukes): Change "kLanguageABC" to "kABC". The current form is too long
187 // to remember and confusing. The prefs are actually for input methods and i18n
188 // keyboards, not UI languages.
189 extern const char kLanguageCurrentInputMethod[];
190 extern const char kLanguagePreviousInputMethod[];
191 extern const char kLanguagePreferredLanguages[];
192 extern const char kLanguagePreferredLanguagesSyncable[];
193 extern const char kLanguagePreloadEngines[];
194 extern const char kLanguagePreloadEnginesSyncable[];
195 extern const char kLanguageEnabledExtensionImes[];
196 extern const char kLanguageEnabledExtensionImesSyncable[];
197 extern const char kLanguageShouldMergeInputMethods[];
198 extern const char kLanguageRemapCapsLockKeyTo[];
199 extern const char kLanguageRemapSearchKeyTo[];
200 extern const char kLanguageRemapControlKeyTo[];
201 extern const char kLanguageRemapAltKeyTo[];
202 extern const char kLanguageRemapDiamondKeyTo[];
203 extern const char kLanguageSendFunctionKeys[];
204 extern const char kLanguageXkbAutoRepeatEnabled[];
205 extern const char kLanguageXkbAutoRepeatDelay[];
206 extern const char kLanguageXkbAutoRepeatInterval[];
207 extern const char kAccessibilityLargeCursorEnabled[];
208 extern const char kAccessibilityStickyKeysEnabled[];
209 extern const char kAccessibilitySpokenFeedbackEnabled[];
210 extern const char kAccessibilityHighContrastEnabled[];
211 extern const char kAccessibilityScreenMagnifierCenterFocus[];
212 extern const char kAccessibilityScreenMagnifierEnabled[];
213 extern const char kAccessibilityScreenMagnifierType[];
214 extern const char kAccessibilityScreenMagnifierScale[];
215 extern const char kAccessibilityVirtualKeyboardEnabled[];
216 extern const char kAccessibilityAutoclickEnabled[];
217 extern const char kAccessibilityAutoclickDelayMs[];
218 extern const char kShouldAlwaysShowAccessibilityMenu[];
219 extern const char kLabsAdvancedFilesystemEnabled[];
220 extern const char kLabsMediaplayerEnabled[];
221 extern const char kEnableAutoScreenLock[];
222 extern const char kShow3gPromoNotification[];
223 extern const char kDataSaverPromptsShown[];
224 extern const char kChromeOSReleaseNotesVersion[];
225 extern const char kUseSharedProxies[];
226 extern const char kDisplayPowerState[];
227 extern const char kDisplayProperties[];
228 extern const char kSecondaryDisplays[];
229 extern const char kDisplayRotationLock[];
230 extern const char kSessionUserActivitySeen[];
231 extern const char kSessionStartTime[];
232 extern const char kSessionLengthLimit[];
233 extern const char kSessionWaitForInitialUserActivity[];
234 extern const char kPowerAcScreenDimDelayMs[];
235 extern const char kPowerAcScreenOffDelayMs[];
236 extern const char kPowerAcScreenLockDelayMs[];
237 extern const char kPowerAcIdleWarningDelayMs[];
238 extern const char kPowerAcIdleDelayMs[];
239 extern const char kPowerBatteryScreenDimDelayMs[];
240 extern const char kPowerBatteryScreenOffDelayMs[];
241 extern const char kPowerBatteryScreenLockDelayMs[];
242 extern const char kPowerBatteryIdleWarningDelayMs[];
243 extern const char kPowerBatteryIdleDelayMs[];
244 extern const char kPowerLockScreenDimDelayMs[];
245 extern const char kPowerLockScreenOffDelayMs[];
246 extern const char kPowerAcIdleAction[];
247 extern const char kPowerBatteryIdleAction[];
248 extern const char kPowerLidClosedAction[];
249 extern const char kPowerUseAudioActivity[];
250 extern const char kPowerUseVideoActivity[];
251 extern const char kPowerAllowScreenWakeLocks[];
252 extern const char kPowerPresentationScreenDimDelayFactor[];
253 extern const char kPowerUserActivityScreenDimDelayFactor[];
254 extern const char kPowerWaitForInitialUserActivity[];
255 extern const char kPowerForceNonzeroBrightnessForUserActivity[];
256 extern const char kTermsOfServiceURL[];
257 extern const char kUsedPolicyCertificatesOnce[];
258 extern const char kAttestationEnabled[];
259 extern const char kAttestationExtensionWhitelist[];
260 extern const char kTouchHudProjectionEnabled[];
261 extern const char kOpenNetworkConfiguration[];
262 extern const char kMultiProfileNeverShowIntro[];
263 extern const char kMultiProfileWarningShowDismissed[];
264 extern const char kMultiProfileUserBehavior[];
265 extern const char kFirstRunTutorialShown[];
266 extern const char kSAMLOfflineSigninTimeLimit[];
267 extern const char kSAMLLastGAIASignInTime[];
268 extern const char kTimeOnOobe[];
269 extern const char kCurrentWallpaperAppName[];
270 extern const char kFileSystemProviderMounted[];
271 extern const char kTouchVirtualKeyboardEnabled[];
272 extern const char kWakeOnWifiSsid[];
273 extern const char kCaptivePortalAuthenticationIgnoresProxy[];
274 extern const char kForceMaximizeOnFirstRun[];
275 extern const char kPlatformKeys[];
276 #endif // defined(OS_CHROMEOS)
277 extern const char kShowHomeButton[];
278 extern const char kRecentlySelectedEncoding[];
279 extern const char kDeleteBrowsingHistory[];
280 extern const char kDeleteDownloadHistory[];
281 extern const char kDeleteCache[];
282 extern const char kDeleteCookies[];
283 extern const char kDeletePasswords[];
284 extern const char kDeleteFormData[];
285 extern const char kDeleteHostedAppsData[];
286 extern const char kDeauthorizeContentLicenses[];
287 extern const char kEnableContinuousSpellcheck[];
288 extern const char kSpeechRecognitionFilterProfanities[];
289 extern const char kEnabledLabsExperiments[];
290 extern const char kEnableAutoSpellCorrect[];
291 extern const char kSavingBrowserHistoryDisabled[];
292 extern const char kAllowDeletingBrowserHistory[];
293 extern const char kForceGoogleSafeSearch[];
294 extern const char kForceYouTubeSafetyMode[];
295 extern const char kRecordHistory[];
296 extern const char kDeleteTimePeriod[];
297 extern const char kLastClearBrowsingDataTime[];
298 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
299 extern const char kUsesSystemTheme[];
300 #endif
301 extern const char kCurrentThemePackFilename[];
302 extern const char kCurrentThemeID[];
303 extern const char kCurrentThemeImages[];
304 extern const char kCurrentThemeColors[];
305 extern const char kCurrentThemeTints[];
306 extern const char kCurrentThemeDisplayProperties[];
307 extern const char kExtensionsUIDeveloperMode[];
308 extern const char kExtensionsUIDismissedADTPromo[];
309 extern const char kExtensionCommands[];
310 extern const char kPluginsLastInternalDirectory[];
311 extern const char kPluginsPluginsList[];
312 extern const char kPluginsDisabledPlugins[];
313 extern const char kPluginsDisabledPluginsExceptions[];
314 extern const char kPluginsEnabledPlugins[];
315 extern const char kNpapiFlashMigratedToPepperFlash[];
316 #if !defined(OS_ANDROID)
317 extern const char kPluginsShowDetails[];
318 #endif
319 extern const char kPluginsAllowOutdated[];
320 extern const char kPluginsAlwaysAuthorize[];
321 #if defined(ENABLE_PLUGIN_INSTALLATION)
322 extern const char kPluginsMetadata[];
323 extern const char kPluginsResourceCacheUpdate[];
324 #endif
325 extern const char kCheckDefaultBrowser[];
326 extern const char kDefaultBrowserSettingEnabled[];
327 #if defined(OS_MACOSX)
328 extern const char kShowUpdatePromotionInfoBar[];
329 #endif
330 extern const char kUseCustomChromeFrame[];
331 #if !defined(OS_ANDROID)
332 extern const char kContentSettingsPluginWhitelist[];
333 #endif
334 extern const char kClearSiteDataOnExit[];
335 extern const char kPartitionDefaultZoomLevel[];
336 extern const char kDefaultZoomLevelDeprecated[];
337 extern const char kPartitionPerHostZoomLevels[];
338 extern const char kPerHostZoomLevelsDeprecated[];
339 extern const char kAutofillDialogAutofillDefault[];
340 extern const char kAutofillDialogPayWithoutWallet[];
341 extern const char kAutofillDialogWalletLocationAcceptance[];
342 extern const char kAutofillDialogSaveData[];
343 extern const char kAutofillDialogWalletShippingSameAsBilling[];
344 extern const char kAutofillGeneratedCardBubbleTimesShown[];
345 #if defined(OS_ANDROID)
346 extern const char kAutofillDialogDefaults[];
347 #endif
349 #if !defined(OS_ANDROID)
350 extern const char kPinnedTabs[];
351 #endif
353 extern const char kDisable3DAPIs[];
354 extern const char kEnableDeprecatedWebPlatformFeatures[];
355 extern const char kEnableHyperlinkAuditing[];
356 extern const char kEnableReferrers[];
357 extern const char kEnableDoNotTrack[];
359 extern const char kImportAutofillFormData[];
360 extern const char kImportBookmarks[];
361 extern const char kImportHistory[];
362 extern const char kImportHomepage[];
363 extern const char kImportSavedPasswords[];
364 extern const char kImportSearchEngine[];
366 extern const char kProfileAvatarIndex[];
367 extern const char kProfileUsingDefaultName[];
368 extern const char kProfileName[];
369 extern const char kProfileUsingDefaultAvatar[];
370 extern const char kProfileUsingGAIAAvatar[];
371 extern const char kSupervisedUserId[];
373 extern const char kProfileGAIAInfoUpdateTime[];
374 extern const char kProfileGAIAInfoPictureURL[];
376 extern const char kProfileAvatarTutorialShown[];
377 extern const char kProfileAvatarRightClickTutorialDismissed[];
379 extern const char kInvertNotificationShown[];
381 extern const char kPrintingEnabled[];
382 extern const char kPrintPreviewDisabled[];
384 extern const char kDefaultSupervisedUserFilteringBehavior[];
386 extern const char kSupervisedUserCreationAllowed[];
387 extern const char kSupervisedUsers[];
389 extern const char kProfileResetPromptMementoInProfilePrefs[];
391 extern const char kMessageCenterDisabledExtensionIds[];
392 extern const char kMessageCenterDisabledSystemComponentIds[];
393 extern const char kWelcomeNotificationDismissed[];
394 extern const char kWelcomeNotificationDismissedLocal[];
395 extern const char kWelcomeNotificationPreviouslyPoppedUp[];
396 extern const char kWelcomeNotificationExpirationTimestamp[];
398 extern const char kFullscreenAllowed[];
400 extern const char kLocalDiscoveryNotificationsEnabled[];
402 extern const char kPreferenceResetTime[];
404 extern const char kPushMessagingRegistrationCount[];
405 extern const char kPushMessagingAppIdentifierMap[];
407 extern const char kEasyUnlockAllowed[];
408 extern const char kEasyUnlockEnabled[];
409 extern const char kEasyUnlockPairing[];
410 extern const char kEasyUnlockProximityRequired[];
412 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS)
413 extern const char kCopresenceAuthenticatedDeviceId[];
414 extern const char kCopresenceAnonymousDeviceId[];
415 extern const char kToolbarIconSurfacingBubbleAcknowledged[];
416 extern const char kToolbarIconSurfacingBubbleLastShowTime[];
417 #endif
419 #if defined(ENABLE_WEBRTC)
420 extern const char kWebRTCMultipleRoutesEnabled[];
421 #endif
423 // Local state prefs. Please add Profile prefs above instead.
424 extern const char kCertRevocationCheckingEnabled[];
425 extern const char kCertRevocationCheckingRequiredLocalAnchors[];
426 extern const char kSSLVersionMin[];
427 extern const char kSSLVersionMax[];
428 extern const char kSSLVersionFallbackMin[];
429 extern const char kCipherSuiteBlacklist[];
430 extern const char kDisableSSLRecordSplitting[];
432 extern const char kGLVendorString[];
433 extern const char kGLRendererString[];
434 extern const char kGLVersionString[];
436 extern const char kMetricsReportingEnabled[];
438 // Android has it's own metric / crash reporting implemented in Android
439 // Java code so kMetricsReportingEnabled doesn't make sense. We use this
440 // to inform crashes_ui that we have enabled crash reporting.
441 #if defined(OS_ANDROID)
442 extern const char kCrashReportingEnabled[];
443 #endif
445 extern const char kVariationsCompressedSeed[];
446 extern const char kVariationsLastFetchTime[];
447 extern const char kVariationsPermanentConsistencyCountry[];
448 extern const char kVariationsCountry[];
449 extern const char kVariationsRestrictParameter[];
450 extern const char kVariationsSeed[];
451 extern const char kVariationsSeedDate[];
452 extern const char kVariationsSeedSignature[];
454 extern const char kDeviceOpenNetworkConfiguration[];
456 extern const char kProfileLastUsed[];
457 extern const char kProfilesLastActive[];
458 extern const char kProfilesNumCreated[];
459 extern const char kProfileInfoCache[];
460 extern const char kProfileCreatedByVersion[];
461 extern const char kProfileResetPromptMementosInLocalState[];
463 extern const char kStabilityPageLoadCount[];
464 extern const char kStabilityRendererCrashCount[];
465 extern const char kStabilityExtensionRendererCrashCount[];
466 extern const char kStabilityRendererHangCount[];
467 extern const char kStabilityChildProcessCrashCount[];
468 extern const char kStabilityOtherUserCrashCount[];
469 extern const char kStabilityKernelCrashCount[];
470 extern const char kStabilitySystemUncleanShutdownCount[];
471 #if defined(OS_ANDROID)
472 extern const char kStabilityForegroundActivityType[];
473 extern const char kStabilityLaunchedActivityFlags[];
474 extern const char kStabilityLaunchedActivityCounts[];
475 extern const char kStabilityCrashedActivityCounts[];
476 #endif
478 extern const char kStabilityPluginStats[];
479 extern const char kStabilityPluginName[];
480 extern const char kStabilityPluginLaunches[];
481 extern const char kStabilityPluginInstances[];
482 extern const char kStabilityPluginCrashes[];
483 extern const char kStabilityPluginLoadingErrors[];
485 extern const char kUninstallMetricsPageLoadCount[];
486 extern const char kUninstallLastLaunchTimeSec[];
487 extern const char kUninstallLastObservedRunTimeSec[];
489 extern const char kBrowserSuppressDefaultBrowserPrompt[];
491 extern const char kBrowserWindowPlacement[];
492 extern const char kBrowserWindowPlacementPopup[];
493 extern const char kTaskManagerWindowPlacement[];
494 extern const char kAppWindowPlacement[];
496 extern const char kDownloadDefaultDirectory[];
497 extern const char kDownloadExtensionsToOpen[];
498 extern const char kDownloadDirUpgraded[];
499 #if defined(OS_WIN) || defined(OS_LINUX) || \
500 (defined(OS_MACOSX) && !defined(OS_IOS))
501 extern const char kOpenPdfDownloadInSystemReader[];
502 #endif
504 extern const char kSaveFileDefaultDirectory[];
505 extern const char kSaveFileType[];
507 extern const char kAllowFileSelectionDialogs[];
508 extern const char kDefaultTasksByMimeType[];
509 extern const char kDefaultTasksBySuffix[];
511 extern const char kSelectFileLastDirectory[];
513 extern const char kHungPluginDetectFrequency[];
514 extern const char kPluginMessageResponseTimeout[];
516 extern const char kSpellCheckDictionaries[];
517 extern const char kSpellCheckDictionary[];
518 extern const char kSpellCheckUseSpellingService[];
520 extern const char kExcludedSchemes[];
522 extern const char kOptionsWindowLastTabIndex[];
523 extern const char kShowFirstRunBubbleOption[];
525 extern const char kLastKnownIntranetRedirectOrigin[];
527 extern const char kShutdownType[];
528 extern const char kShutdownNumProcesses[];
529 extern const char kShutdownNumProcessesSlow[];
531 extern const char kRestartLastSessionOnShutdown[];
532 extern const char kWasRestarted[];
533 #if defined(OS_WIN)
534 extern const char kRelaunchMode[];
535 #endif
537 extern const char kDisableExtensions[];
538 extern const char kDisablePluginFinder[];
540 extern const char kNtpAppPageNames[];
541 #if defined(OS_ANDROID)
542 extern const char kNtpCollapsedCurrentlyOpenTabs[];
543 #endif
544 extern const char kNtpCollapsedForeignSessions[];
545 #if defined(OS_ANDROID)
546 extern const char kNtpCollapsedRecentlyClosedTabs[];
547 extern const char kNtpCollapsedSnapshotDocument[];
548 extern const char kNtpCollapsedSyncPromo[];
549 #endif
550 extern const char kNtpShownPage[];
552 extern const char kDevToolsAdbKey[];
553 extern const char kDevToolsDisabled[];
554 extern const char kDevToolsDiscoverUsbDevicesEnabled[];
555 extern const char kDevToolsEditedFiles[];
556 extern const char kDevToolsFileSystemPaths[];
557 extern const char kDevToolsPortForwardingEnabled[];
558 extern const char kDevToolsPortForwardingDefaultSet[];
559 extern const char kDevToolsPortForwardingConfig[];
560 extern const char kDevToolsPreferences[];
561 #if defined(OS_ANDROID)
562 extern const char kDevToolsRemoteEnabled[];
563 #endif
565 extern const char kGoogleServicesPasswordHash[];
567 extern const char kInvalidationServiceUseGCMChannel[];
569 #if !defined(OS_ANDROID) && !defined(OS_IOS)
570 extern const char kSignInPromoStartupCount[];
571 extern const char kSignInPromoUserSkipped[];
572 extern const char kSignInPromoShowOnFirstRunAllowed[];
573 extern const char kSignInPromoShowNTPBubble[];
574 #endif
576 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS)
577 extern const char kCrossDevicePromoOptedOut[];
578 extern const char kCrossDevicePromoShouldBeShown[];
579 extern const char kCrossDevicePromoObservedSingleAccountCookie[];
580 extern const char kCrossDevicePromoNextFetchListDevicesTime[];
581 extern const char kCrossDevicePromoNumDevices[];
582 extern const char kCrossDevicePromoLastDeviceActiveTime[];
583 #endif
585 extern const char kWebAppCreateOnDesktop[];
586 extern const char kWebAppCreateInAppsMenu[];
587 extern const char kWebAppCreateInQuickLaunchBar[];
589 extern const char kGeolocationAccessToken[];
590 #if defined(OS_ANDROID)
591 extern const char kGeolocationEnabled[];
592 #endif
594 #if defined(ENABLE_GOOGLE_NOW)
595 extern const char kGoogleGeolocationAccessEnabled[];
596 #endif
597 extern const char kGoogleNowLauncherEnabled[];
599 extern const char kDefaultAudioCaptureDevice[];
600 extern const char kDefaultVideoCaptureDevice[];
601 extern const char kMediaDeviceIdSalt[];
603 extern const char kPrintPreviewStickySettings[];
604 extern const char kCloudPrintRoot[];
605 extern const char kCloudPrintProxyEnabled[];
606 extern const char kCloudPrintProxyId[];
607 extern const char kCloudPrintAuthToken[];
608 extern const char kCloudPrintEmail[];
609 extern const char kCloudPrintPrintSystemSettings[];
610 extern const char kCloudPrintEnableJobPoll[];
611 extern const char kCloudPrintRobotRefreshToken[];
612 extern const char kCloudPrintRobotEmail[];
613 extern const char kCloudPrintConnectNewPrinters[];
614 extern const char kCloudPrintXmppPingEnabled[];
615 extern const char kCloudPrintXmppPingTimeout[];
616 extern const char kCloudPrintPrinters[];
617 extern const char kCloudPrintSubmitEnabled[];
618 extern const char kCloudPrintUserSettings[];
620 extern const char kProxy[];
621 extern const char kMaxConnectionsPerProxy[];
623 extern const char kAudioCaptureAllowed[];
624 extern const char kAudioCaptureAllowedUrls[];
625 extern const char kVideoCaptureAllowed[];
626 extern const char kVideoCaptureAllowedUrls[];
628 extern const char kHotwordSearchEnabled[];
629 extern const char kHotwordAlwaysOnSearchEnabled[];
630 extern const char kHotwordAlwaysOnNotificationSeen[];
631 extern const char kHotwordAudioLoggingEnabled[];
632 extern const char kHotwordPreviousLanguage[];
634 #if defined(OS_ANDROID)
635 extern const char kProtectedMediaIdentifierEnabled[];
636 #endif
638 #if defined(OS_CHROMEOS)
639 extern const char kDeviceSettingsCache[];
640 extern const char kHardwareKeyboardLayout[];
641 extern const char kCarrierDealPromoShown[];
642 extern const char kShouldAutoEnroll[];
643 extern const char kAutoEnrollmentPowerLimit[];
644 extern const char kDeviceActivityTimes[];
645 extern const char kDeviceLocation[];
646 extern const char kExternalStorageDisabled[];
647 extern const char kOwnerPrimaryMouseButtonRight[];
648 extern const char kOwnerTapToClickEnabled[];
649 extern const char kUptimeLimit[];
650 extern const char kRebootAfterUpdate[];
651 extern const char kDeviceRobotAnyApiRefreshToken[];
652 extern const char kDeviceEnrollmentRequisition[];
653 extern const char kDeviceEnrollmentAutoStart[];
654 extern const char kDeviceEnrollmentCanExit[];
655 extern const char kTimesHIDDialogShown[];
656 extern const char kUsersLRUInputMethod[];
657 extern const char kEchoCheckedOffers[];
658 extern const char kCachedMultiProfileUserBehavior[];
659 extern const char kInitialLocale[];
660 extern const char kOobeComplete[];
661 extern const char kOobeScreenPending[];
662 extern const char kDeviceRegistered[];
663 extern const char kEnrollmentRecoveryRequired[];
664 extern const char kUsedPolicyCertificates[];
665 extern const char kServerBackedDeviceState[];
666 extern const char kCustomizationDefaultWallpaperURL[];
667 extern const char kLogoutStartedLast[];
668 extern const char kConsumerManagementStage[];
669 #endif // defined(OS_CHROMEOS)
671 extern const char kClearPluginLSODataEnabled[];
672 extern const char kPepperFlashSettingsEnabled[];
673 extern const char kDiskCacheDir[];
674 extern const char kDiskCacheSize[];
675 extern const char kMediaCacheSize[];
677 extern const char kChromeOsReleaseChannel[];
679 extern const char kPerformanceTracingEnabled[];
681 extern const char kTabStripStackedLayout[];
683 extern const char kRegisteredBackgroundContents[];
685 #if defined(OS_WIN)
686 extern const char kLastWelcomedOSVersion[];
687 extern const char kShownAutoLaunchInfobar[];
688 extern const char kWelcomePageOnOSUpgradeEnabled[];
689 #endif
691 extern const char kAuthSchemes[];
692 extern const char kDisableAuthNegotiateCnameLookup[];
693 extern const char kEnableAuthNegotiatePort[];
694 extern const char kAuthServerWhitelist[];
695 extern const char kAuthNegotiateDelegateWhitelist[];
696 extern const char kGSSAPILibraryName[];
697 extern const char kAuthAndroidNegotiateAccountType[];
698 extern const char kAllowCrossOriginAuthPrompt[];
700 extern const char kBuiltInDnsClientEnabled[];
702 extern const char kRegisteredProtocolHandlers[];
703 extern const char kIgnoredProtocolHandlers[];
704 extern const char kPolicyRegisteredProtocolHandlers[];
705 extern const char kPolicyIgnoredProtocolHandlers[];
706 extern const char kCustomHandlersEnabled[];
708 #if defined(OS_MACOSX)
709 extern const char kUserRemovedLoginItem[];
710 extern const char kChromeCreatedLoginItem[];
711 extern const char kMigratedLoginItemPref[];
712 extern const char kNotifyWhenAppsKeepChromeAlive[];
713 #endif
715 extern const char kBackgroundModeEnabled[];
716 extern const char kHardwareAccelerationModeEnabled[];
717 extern const char kHardwareAccelerationModePrevious[];
719 extern const char kDevicePolicyRefreshRate[];
721 extern const char kFactoryResetRequested[];
722 extern const char kDebuggingFeaturesRequested[];
724 extern const char kMessageCenterShowedFirstRunBalloon[];
725 extern const char kMessageCenterShowIcon[];
726 extern const char kMessageCenterForcedOnTaskbar[];
728 #if defined(OS_CHROMEOS)
729 extern const char kResolveDeviceTimezoneByGeolocation[];
730 #endif // defined(OS_CHROMEOS)
732 extern const char kAttemptedToEnableAutoupdate[];
734 extern const char kMediaGalleriesUniqueId[];
735 extern const char kMediaGalleriesRememberedGalleries[];
736 extern const char kMediaGalleriesLastScanTime[];
738 #if defined(USE_ASH)
739 extern const char kShelfAlignment[];
740 extern const char kShelfAlignmentLocal[];
741 extern const char kShelfAutoHideBehavior[];
742 extern const char kShelfAutoHideBehaviorLocal[];
743 extern const char kShelfChromeIconIndex[];
744 extern const char kShelfPreferences[];
746 extern const char kLogoutDialogDurationMs[];
747 extern const char kPinnedLauncherApps[];
748 extern const char kShowLogoutButtonInTray[];
749 #endif
751 #if defined(USE_AURA)
752 extern const char kMaxSeparationForGestureTouchesInPixels[];
753 extern const char kSemiLongPressTimeInMs[];
754 extern const char kTabScrubActivationDelayInMs[];
755 extern const char kFlingMaxCancelToDownTimeInMs[];
756 extern const char kFlingMaxTapGapTimeInMs[];
757 extern const char kOverscrollHorizontalThresholdComplete[];
758 extern const char kOverscrollVerticalThresholdComplete[];
759 extern const char kOverscrollMinimumThresholdStart[];
760 extern const char kOverscrollMinimumThresholdStartTouchpad[];
761 extern const char kOverscrollVerticalThresholdStart[];
762 extern const char kOverscrollHorizontalResistThreshold[];
763 extern const char kOverscrollVerticalResistThreshold[];
764 #endif
766 #if defined(OS_WIN)
767 extern const char kNetworkProfileWarningsLeft[];
768 extern const char kNetworkProfileLastWarningTime[];
769 #endif
771 #if defined(OS_CHROMEOS)
772 extern const char kRLZBrand[];
773 extern const char kRLZDisabled[];
774 #endif
776 #if defined(ENABLE_APP_LIST)
777 extern const char kAppListProfile[];
778 extern const char kLastAppListLaunchPing[];
779 extern const char kAppListLaunchCount[];
780 extern const char kLastAppListAppLaunchPing[];
781 extern const char kAppListAppLaunchCount[];
782 extern const char kAppLauncherHasBeenEnabled[];
783 extern const char kAppListEnableMethod[];
784 extern const char kAppListEnableTime[];
785 extern const char kAppListLastLaunchTime[];
786 #if defined(OS_MACOSX)
787 extern const char kAppLauncherShortcutVersion[];
788 #endif
789 extern const char kShowAppLauncherPromo[];
790 extern const char kAppLauncherDriveAppMapping[];
791 extern const char kAppLauncherUninstalledDriveApps[];
792 #endif // defined(ENABLE_APP_LIST)
794 #if defined(OS_WIN)
795 extern const char kAppLaunchForMetroRestart[];
796 extern const char kAppLaunchForMetroRestartProfile[];
797 #endif
798 extern const char kAppShortcutsVersion[];
800 extern const char kModuleConflictBubbleShown[];
802 extern const char kDRMSalt[];
803 extern const char kEnableDRM[];
805 extern const char kWatchdogExtensionActive[];
807 #if defined(OS_ANDROID)
808 extern const char kPartnerBookmarkMappings[];
809 #endif
811 extern const char kQuickCheckEnabled[];
812 extern const char kBrowserGuestModeEnabled[];
813 extern const char kBrowserAddPersonEnabled[];
815 extern const char kEasyUnlockDeviceId[];
816 extern const char kEasyUnlockHardlockState[];
817 extern const char kEasyUnlockLocalStateTpmKeys[];
818 extern const char kEasyUnlockLocalStateUserPrefs[];
820 extern const char kRecoveryComponentNeedsElevation[];
822 extern const char kRegisteredSupervisedUserWhitelists[];
824 #if defined(ENABLE_EXTENSIONS)
825 extern const char kAnimationPolicy[];
826 #endif
828 extern const char kBackgroundTracingLastUpload[];
830 } // namespace prefs
832 #endif // CHROME_COMMON_PREF_NAMES_H_