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_
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"
24 // Profile prefs. Please add Local State prefs below instead.
25 extern const char kChildAccountStatusKnown
[];
26 extern const char kDefaultApps
[];
27 extern const char kDefaultAppsInstalled
[];
28 extern const char kDisableScreenshots
[];
29 extern const char kForceEphemeralProfiles
[];
30 extern const char kHomePageIsNewTabPage
[];
31 extern const char kHomePage
[];
32 extern const char kProfileIconVersion
[];
33 extern const char kRestoreOnStartup
[];
34 extern const char kRestoreOnStartupMigrated
[];
35 extern const char kRestoreStartupURLsMigrationTime
[];
36 extern const char kSessionExitedCleanly
[];
37 extern const char kSessionExitType
[];
38 extern const char kSupervisedUserCustodianEmail
[];
39 extern const char kSupervisedUserCustodianName
[];
40 extern const char kSupervisedUserCustodianProfileImageURL
[];
41 extern const char kSupervisedUserCustodianProfileURL
[];
42 extern const char kSupervisedUserManualHosts
[];
43 extern const char kSupervisedUserManualURLs
[];
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
[];
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
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
91 extern const char kWebKitStandardFontFamilyArabic
[];
92 extern const char kWebKitFixedFontFamilyArabic
[];
93 extern const char kWebKitSerifFontFamilyArabic
[];
94 extern const char kWebKitSansSerifFontFamilyArabic
[];
95 extern const char kWebKitStandardFontFamilyCyrillic
[];
96 extern const char kWebKitFixedFontFamilyCyrillic
[];
97 extern const char kWebKitSerifFontFamilyCyrillic
[];
98 extern const char kWebKitSansSerifFontFamilyCyrillic
[];
99 extern const char kWebKitStandardFontFamilyGreek
[];
100 extern const char kWebKitFixedFontFamilyGreek
[];
101 extern const char kWebKitSerifFontFamilyGreek
[];
102 extern const char kWebKitSansSerifFontFamilyGreek
[];
103 extern const char kWebKitStandardFontFamilyJapanese
[];
104 extern const char kWebKitFixedFontFamilyJapanese
[];
105 extern const char kWebKitSerifFontFamilyJapanese
[];
106 extern const char kWebKitSansSerifFontFamilyJapanese
[];
107 extern const char kWebKitStandardFontFamilyKorean
[];
108 extern const char kWebKitFixedFontFamilyKorean
[];
109 extern const char kWebKitSerifFontFamilyKorean
[];
110 extern const char kWebKitSansSerifFontFamilyKorean
[];
111 extern const char kWebKitCursiveFontFamilyKorean
[];
112 extern const char kWebKitStandardFontFamilySimplifiedHan
[];
113 extern const char kWebKitFixedFontFamilySimplifiedHan
[];
114 extern const char kWebKitSerifFontFamilySimplifiedHan
[];
115 extern const char kWebKitSansSerifFontFamilySimplifiedHan
[];
116 extern const char kWebKitStandardFontFamilyTraditionalHan
[];
117 extern const char kWebKitFixedFontFamilyTraditionalHan
[];
118 extern const char kWebKitSerifFontFamilyTraditionalHan
[];
119 extern const char kWebKitSansSerifFontFamilyTraditionalHan
[];
121 extern const char kWebKitDefaultFontSize
[];
122 extern const char kWebKitDefaultFixedFontSize
[];
123 extern const char kWebKitMinimumFontSize
[];
124 extern const char kWebKitMinimumLogicalFontSize
[];
125 extern const char kWebKitJavascriptEnabled
[];
126 extern const char kWebKitWebSecurityEnabled
[];
127 extern const char kWebKitJavascriptCanOpenWindowsAutomatically
[];
128 extern const char kWebKitLoadsImagesAutomatically
[];
129 extern const char kWebKitPluginsEnabled
[];
130 extern const char kWebKitDomPasteEnabled
[];
131 extern const char kWebKitShrinksStandaloneImagesToFit
[];
132 extern const char kWebKitUsesUniversalDetector
[];
133 extern const char kWebKitTextAreasAreResizable
[];
134 extern const char kWebKitJavaEnabled
[];
135 extern const char kWebkitTabsToLinks
[];
136 extern const char kWebKitAllowDisplayingInsecureContent
[];
137 extern const char kWebKitAllowRunningInsecureContent
[];
138 #if defined(OS_ANDROID)
139 extern const char kWebKitFontScaleFactor
[];
140 extern const char kWebKitForceEnableZoom
[];
141 extern const char kWebKitPasswordEchoEnabled
[];
143 extern const char kSafeBrowsingEnabled
[];
144 extern const char kSafeBrowsingExtendedReportingEnabled
[];
145 extern const char kSafeBrowsingProceedAnywayDisabled
[];
146 extern const char kSafeBrowsingIncidentsSent
[];
147 extern const char kIncognitoModeAvailability
[];
148 extern const char kSearchSuggestEnabled
[];
149 #if defined(OS_ANDROID)
150 extern const char kContextualSearchEnabled
[];
152 extern const char kConfirmToQuitEnabled
[];
153 extern const char kPromptForDownload
[];
154 extern const char kAlternateErrorPagesEnabled
[];
155 extern const char kDnsPrefetchingStartupList
[];
156 extern const char kDnsPrefetchingHostReferralList
[];
157 extern const char kDisableSpdy
[];
158 extern const char kHttpServerProperties
[];
159 extern const char kSpdyServers
[];
160 extern const char kAlternateProtocolServers
[];
161 extern const char kDisabledSchemes
[];
162 #if defined(OS_ANDROID) || defined(OS_IOS)
163 extern const char kLastPolicyCheckTime
[];
165 extern const char kInstantUIZeroSuggestUrlPrefix
[];
166 extern const char kNetworkPredictionEnabled
[];
167 extern const char kNetworkPredictionOptions
[];
168 extern const char kDefaultAppsInstallState
[];
169 extern const char kHideWebStoreIcon
[];
170 #if defined(OS_CHROMEOS)
171 extern const char kTapToClickEnabled
[];
172 extern const char kTapDraggingEnabled
[];
173 extern const char kEnableTouchpadThreeFingerClick
[];
174 extern const char kNaturalScroll
[];
175 extern const char kPrimaryMouseButtonRight
[];
176 extern const char kMouseSensitivity
[];
177 extern const char kTouchpadSensitivity
[];
178 extern const char kUse24HourClock
[];
179 extern const char kResolveTimezoneByGeolocation
[];
180 extern const char kDisableDrive
[];
181 extern const char kDisableDriveOverCellular
[];
182 extern const char kDisableDriveHostedFiles
[];
183 // TODO(yusukes): Change "kLanguageABC" to "kABC". The current form is too long
184 // to remember and confusing. The prefs are actually for input methods and i18n
185 // keyboards, not UI languages.
186 extern const char kLanguageCurrentInputMethod
[];
187 extern const char kLanguagePreviousInputMethod
[];
188 extern const char kLanguageHotkeyNextEngineInMenu
[];
189 extern const char kLanguageHotkeyPreviousEngine
[];
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 kAccessibilityScreenMagnifierEnabled
[];
211 extern const char kAccessibilityScreenMagnifierType
[];
212 extern const char kAccessibilityScreenMagnifierScale
[];
213 extern const char kAccessibilityVirtualKeyboardEnabled
[];
214 extern const char kAccessibilityAutoclickEnabled
[];
215 extern const char kAccessibilityAutoclickDelayMs
[];
216 extern const char kShouldAlwaysShowAccessibilityMenu
[];
217 extern const char kLabsAdvancedFilesystemEnabled
[];
218 extern const char kLabsMediaplayerEnabled
[];
219 extern const char kEnableAutoScreenLock
[];
220 extern const char kShowPlanNotifications
[];
221 extern const char kShow3gPromoNotification
[];
222 extern const char kChromeOSReleaseNotesVersion
[];
223 extern const char kUseSharedProxies
[];
224 extern const char kDisplayPowerState
[];
225 extern const char kDisplayProperties
[];
226 extern const char kSecondaryDisplays
[];
227 extern const char kDisplayRotationLock
[];
228 extern const char kSessionUserActivitySeen
[];
229 extern const char kSessionStartTime
[];
230 extern const char kSessionLengthLimit
[];
231 extern const char kSessionWaitForInitialUserActivity
[];
232 extern const char kPowerAcScreenDimDelayMs
[];
233 extern const char kPowerAcScreenOffDelayMs
[];
234 extern const char kPowerAcScreenLockDelayMs
[];
235 extern const char kPowerAcIdleWarningDelayMs
[];
236 extern const char kPowerAcIdleDelayMs
[];
237 extern const char kPowerBatteryScreenDimDelayMs
[];
238 extern const char kPowerBatteryScreenOffDelayMs
[];
239 extern const char kPowerBatteryScreenLockDelayMs
[];
240 extern const char kPowerBatteryIdleWarningDelayMs
[];
241 extern const char kPowerBatteryIdleDelayMs
[];
242 extern const char kPowerLockScreenDimDelayMs
[];
243 extern const char kPowerLockScreenOffDelayMs
[];
244 extern const char kPowerAcIdleAction
[];
245 extern const char kPowerBatteryIdleAction
[];
246 extern const char kPowerLidClosedAction
[];
247 extern const char kPowerUseAudioActivity
[];
248 extern const char kPowerUseVideoActivity
[];
249 extern const char kPowerAllowScreenWakeLocks
[];
250 extern const char kPowerPresentationScreenDimDelayFactor
[];
251 extern const char kPowerUserActivityScreenDimDelayFactor
[];
252 extern const char kPowerWaitForInitialUserActivity
[];
253 extern const char kPowerForceNonzeroBrightnessForUserActivity
[];
254 extern const char kTermsOfServiceURL
[];
255 extern const char kUsedPolicyCertificatesOnce
[];
256 extern const char kAttestationEnabled
[];
257 extern const char kAttestationExtensionWhitelist
[];
258 extern const char kTouchHudProjectionEnabled
[];
259 extern const char kOpenNetworkConfiguration
[];
260 extern const char kRAConsentGranted
[];
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 #endif // defined(OS_CHROMEOS)
274 extern const char kIpcDisabledMessages
[];
275 extern const char kShowHomeButton
[];
276 extern const char kRecentlySelectedEncoding
[];
277 extern const char kDeleteBrowsingHistory
[];
278 extern const char kDeleteDownloadHistory
[];
279 extern const char kDeleteCache
[];
280 extern const char kDeleteCookies
[];
281 extern const char kDeletePasswords
[];
282 extern const char kDeleteFormData
[];
283 extern const char kDeleteHostedAppsData
[];
284 extern const char kDeauthorizeContentLicenses
[];
285 extern const char kEnableContinuousSpellcheck
[];
286 extern const char kSpeechRecognitionFilterProfanities
[];
287 extern const char kSpeechRecognitionTrayNotificationShownContexts
[];
288 extern const char kEnabledLabsExperiments
[];
289 extern const char kEnableAutoSpellCorrect
[];
290 extern const char kSavingBrowserHistoryDisabled
[];
291 extern const char kAllowDeletingBrowserHistory
[];
292 extern const char kForceSafeSearch
[];
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
[];
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 kPluginsMigratedToPepperFlash
[];
316 extern const char kPluginsRemovedOldComponentPepperFlashSettings
[];
317 #if !defined(OS_ANDROID)
318 extern const char kPluginsShowDetails
[];
320 extern const char kPluginsAllowOutdated
[];
321 extern const char kPluginsAlwaysAuthorize
[];
322 #if defined(ENABLE_PLUGIN_INSTALLATION)
323 extern const char kPluginsMetadata
[];
324 extern const char kPluginsResourceCacheUpdate
[];
326 extern const char kCheckDefaultBrowser
[];
327 extern const char kDefaultBrowserSettingEnabled
[];
328 #if defined(OS_MACOSX)
329 extern const char kShowUpdatePromotionInfoBar
[];
331 extern const char kUseCustomChromeFrame
[];
332 #if !defined(OS_ANDROID)
333 extern const char kContentSettingsPluginWhitelist
[];
335 extern const char kBlockThirdPartyCookies
[];
336 extern const char kClearSiteDataOnExit
[];
337 extern const char kPartitionDefaultZoomLevel
[];
338 extern const char kDefaultZoomLevelDeprecated
[];
339 extern const char kPartitionPerHostZoomLevels
[];
340 extern const char kPerHostZoomLevelsDeprecated
[];
341 extern const char kAutofillDialogAutofillDefault
[];
342 extern const char kAutofillDialogPayWithoutWallet
[];
343 extern const char kAutofillDialogWalletLocationAcceptance
[];
344 extern const char kAutofillDialogSaveData
[];
345 extern const char kAutofillDialogWalletShippingSameAsBilling
[];
346 extern const char kAutofillGeneratedCardBubbleTimesShown
[];
347 extern const char kAutofillDialogDefaults
[];
349 #if !defined(OS_ANDROID)
350 extern const char kPinnedTabs
[];
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
[];
378 extern const char kInvertNotificationShown
[];
380 extern const char kPrintingEnabled
[];
381 extern const char kPrintPreviewDisabled
[];
383 extern const char kDefaultSupervisedUserFilteringBehavior
[];
385 extern const char kSupervisedUserCreationAllowed
[];
386 extern const char kSupervisedUsers
[];
388 extern const char kProfileResetPromptMementoInProfilePrefs
[];
390 extern const char kMessageCenterDisabledExtensionIds
[];
391 extern const char kMessageCenterDisabledSystemComponentIds
[];
392 extern const char kWelcomeNotificationDismissed
[];
393 extern const char kWelcomeNotificationDismissedLocal
[];
394 extern const char kWelcomeNotificationPreviouslyPoppedUp
[];
395 extern const char kWelcomeNotificationExpirationTimestamp
[];
397 extern const char kFullscreenAllowed
[];
399 extern const char kLocalDiscoveryNotificationsEnabled
[];
401 extern const char kPreferenceResetTime
[];
403 extern const char kPushMessagingRegistrationCount
[];
404 extern const char kPushMessagingApplicationIdMap
[];
406 extern const char kEasyUnlockAllowed
[];
407 extern const char kEasyUnlockEnabled
[];
408 extern const char kEasyUnlockPairing
[];
409 extern const char kEasyUnlockProximityRequired
[];
410 extern const char kEasyUnlockShowTutorial
[];
412 extern const char kZeroSuggestCachedResults
[];
414 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS)
415 extern const char kCopresenceAuthenticatedDeviceId
[];
416 extern const char kCopresenceAnonymousDeviceId
[];
417 extern const char kToolbarIconSurfacingBubbleAcknowledged
[];
418 extern const char kToolbarIconSurfacingBubbleLastShowTime
[];
421 #if defined(ENABLE_WEBRTC)
422 extern const char kWebRTCMultipleRoutesEnabled
[];
425 // Local state prefs. Please add Profile prefs above instead.
426 extern const char kCertRevocationCheckingEnabled
[];
427 extern const char kCertRevocationCheckingRequiredLocalAnchors
[];
428 extern const char kSSLVersionMin
[];
429 extern const char kSSLVersionMax
[];
430 extern const char kSSLVersionFallbackMin
[];
431 extern const char kCipherSuiteBlacklist
[];
432 extern const char kDisableSSLRecordSplitting
[];
434 extern const char kSSLBlockingBypassed
[];
436 extern const char kGLVendorString
[];
437 extern const char kGLRendererString
[];
438 extern const char kGLVersionString
[];
440 extern const char kMetricsReportingEnabled
[];
442 // Android has it's own metric / crash reporting implemented in Android
443 // Java code so kMetricsReportingEnabled doesn't make sense. We use this
444 // to inform crashes_ui that we have enabled crash reporting.
445 #if defined(OS_ANDROID)
446 extern const char kCrashReportingEnabled
[];
449 extern const char kVariationsCompressedSeed
[];
450 extern const char kVariationsLastFetchTime
[];
451 extern const char kVariationsRestrictParameter
[];
452 extern const char kVariationsSeed
[];
453 extern const char kVariationsSeedDate
[];
454 extern const char kVariationsSeedSignature
[];
456 extern const char kDeviceOpenNetworkConfiguration
[];
458 extern const char kProfileLastUsed
[];
459 extern const char kProfilesLastActive
[];
460 extern const char kProfilesNumCreated
[];
461 extern const char kProfileInfoCache
[];
462 extern const char kProfileCreatedByVersion
[];
463 extern const char kProfileResetPromptMementosInLocalState
[];
465 extern const char kStabilityPageLoadCount
[];
466 extern const char kStabilityRendererCrashCount
[];
467 extern const char kStabilityExtensionRendererCrashCount
[];
468 extern const char kStabilityRendererHangCount
[];
469 extern const char kStabilityChildProcessCrashCount
[];
470 extern const char kStabilityOtherUserCrashCount
[];
471 extern const char kStabilityKernelCrashCount
[];
472 extern const char kStabilitySystemUncleanShutdownCount
[];
473 #if defined(OS_ANDROID)
474 extern const char kStabilityForegroundActivityType
[];
475 extern const char kStabilityLaunchedActivityFlags
[];
476 extern const char kStabilityLaunchedActivityCounts
[];
477 extern const char kStabilityCrashedActivityCounts
[];
480 extern const char kStabilityPluginStats
[];
481 extern const char kStabilityPluginName
[];
482 extern const char kStabilityPluginLaunches
[];
483 extern const char kStabilityPluginInstances
[];
484 extern const char kStabilityPluginCrashes
[];
485 extern const char kStabilityPluginLoadingErrors
[];
487 extern const char kUninstallMetricsPageLoadCount
[];
488 extern const char kUninstallLastLaunchTimeSec
[];
489 extern const char kUninstallLastObservedRunTimeSec
[];
491 extern const char kBrowserSuppressDefaultBrowserPrompt
[];
493 extern const char kBrowserWindowPlacement
[];
494 extern const char kBrowserWindowPlacementPopup
[];
495 extern const char kTaskManagerWindowPlacement
[];
496 extern const char kAppWindowPlacement
[];
498 extern const char kDownloadDefaultDirectory
[];
499 extern const char kDownloadExtensionsToOpen
[];
500 extern const char kDownloadDirUpgraded
[];
501 #if defined(OS_WIN) || defined(OS_LINUX) || \
502 (defined(OS_MACOSX) && !defined(OS_IOS))
503 extern const char kOpenPdfDownloadInSystemReader
[];
506 extern const char kSaveFileDefaultDirectory
[];
507 extern const char kSaveFileType
[];
509 extern const char kAllowFileSelectionDialogs
[];
510 extern const char kDefaultTasksByMimeType
[];
511 extern const char kDefaultTasksBySuffix
[];
513 extern const char kSelectFileLastDirectory
[];
515 extern const char kHungPluginDetectFrequency
[];
516 extern const char kPluginMessageResponseTimeout
[];
518 extern const char kSpellCheckDictionary
[];
519 extern const char kSpellCheckUseSpellingService
[];
521 extern const char kExcludedSchemes
[];
523 extern const char kSafeBrowsingClientKey
[];
524 extern const char kSafeBrowsingWrappedKey
[];
526 extern const char kOptionsWindowLastTabIndex
[];
527 extern const char kCertificateManagerWindowLastTabIndex
[];
528 extern const char kShowFirstRunBubbleOption
[];
530 extern const char kLastKnownIntranetRedirectOrigin
[];
532 extern const char kShutdownType
[];
533 extern const char kShutdownNumProcesses
[];
534 extern const char kShutdownNumProcessesSlow
[];
536 extern const char kRestartLastSessionOnShutdown
[];
537 extern const char kWasRestarted
[];
539 extern const char kRelaunchMode
[];
542 extern const char kDisableVideoAndChat
[];
544 extern const char kDisableExtensions
[];
545 extern const char kDisablePluginFinder
[];
547 extern const char kNtpAppPageNames
[];
548 extern const char kNtpCollapsedCurrentlyOpenTabs
[];
549 extern const char kNtpCollapsedForeignSessions
[];
550 extern const char kNtpCollapsedRecentlyClosedTabs
[];
551 extern const char kNtpCollapsedSnapshotDocument
[];
552 extern const char kNtpCollapsedSyncPromo
[];
553 extern const char kNtpDateResourceServer
[];
554 extern const char kNtpMostVisitedURLsBlacklist
[];
555 extern const char kNtpPromoDesktopSessionFound
[];
556 extern const char kNtpShownBookmarksFolder
[];
557 extern const char kNtpShownPage
[];
558 extern const char kNtpTipsResourceServer
[];
559 extern const char kNtpWebStoreEnabled
[];
561 extern const char kDevToolsAdbKey
[];
562 extern const char kDevToolsDisabled
[];
563 extern const char kDevToolsDiscoverUsbDevicesEnabled
[];
564 extern const char kDevToolsEditedFiles
[];
565 extern const char kDevToolsFileSystemPaths
[];
566 extern const char kDevToolsOpenDocked
[];
567 extern const char kDevToolsPortForwardingEnabled
[];
568 extern const char kDevToolsPortForwardingDefaultSet
[];
569 extern const char kDevToolsPortForwardingConfig
[];
570 #if defined(OS_ANDROID)
571 extern const char kDevToolsRemoteEnabled
[];
574 extern const char kGoogleServicesPasswordHash
[];
576 extern const char kInvalidationServiceUseGCMChannel
[];
578 #if !defined(OS_ANDROID) && !defined(OS_IOS)
579 extern const char kSignInPromoStartupCount
[];
580 extern const char kSignInPromoUserSkipped
[];
581 extern const char kSignInPromoShowOnFirstRunAllowed
[];
582 extern const char kSignInPromoShowNTPBubble
[];
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
[];
594 #if defined(ENABLE_GOOGLE_NOW)
595 extern const char kGoogleGeolocationAccessEnabled
[];
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 kCloudPrintDialogWidth
[];
606 extern const char kCloudPrintDialogHeight
[];
607 extern const char kCloudPrintSigninDialogWidth
[];
608 extern const char kCloudPrintSigninDialogHeight
[];
609 extern const char kCloudPrintProxyEnabled
[];
610 extern const char kCloudPrintProxyId
[];
611 extern const char kCloudPrintAuthToken
[];
612 extern const char kCloudPrintXMPPAuthToken
[];
613 extern const char kCloudPrintEmail
[];
614 extern const char kCloudPrintPrintSystemSettings
[];
615 extern const char kCloudPrintEnableJobPoll
[];
616 extern const char kCloudPrintRobotRefreshToken
[];
617 extern const char kCloudPrintRobotEmail
[];
618 extern const char kCloudPrintConnectNewPrinters
[];
619 extern const char kCloudPrintXmppPingEnabled
[];
620 extern const char kCloudPrintXmppPingTimeout
[];
621 extern const char kCloudPrintPrinters
[];
622 extern const char kCloudPrintSubmitEnabled
[];
623 extern const char kCloudPrintUserSettings
[];
625 extern const char kProxy
[];
626 extern const char kMaxConnectionsPerProxy
[];
628 extern const char kAudioCaptureAllowed
[];
629 extern const char kAudioCaptureAllowedUrls
[];
630 extern const char kVideoCaptureAllowed
[];
631 extern const char kVideoCaptureAllowedUrls
[];
633 extern const char kHotwordSearchEnabled
[];
634 extern const char kHotwordAlwaysOnSearchEnabled
[];
635 extern const char kHotwordAlwaysOnNotificationSeen
[];
636 extern const char kHotwordAudioLoggingEnabled
[];
637 extern const char kHotwordPreviousLanguage
[];
639 #if defined(OS_ANDROID)
640 extern const char kProtectedMediaIdentifierEnabled
[];
643 #if defined(OS_CHROMEOS)
644 extern const char kDeviceSettingsCache
[];
645 extern const char kHardwareKeyboardLayout
[];
646 extern const char kCarrierDealPromoShown
[];
647 extern const char kShouldAutoEnroll
[];
648 extern const char kAutoEnrollmentPowerLimit
[];
649 extern const char kDeviceActivityTimes
[];
650 extern const char kDeviceLocation
[];
651 extern const char kExternalStorageDisabled
[];
652 extern const char kOwnerPrimaryMouseButtonRight
[];
653 extern const char kOwnerTapToClickEnabled
[];
654 extern const char kUptimeLimit
[];
655 extern const char kRebootAfterUpdate
[];
656 extern const char kDeviceRobotAnyApiRefreshToken
[];
657 extern const char kDeviceEnrollmentRequisition
[];
658 extern const char kDeviceEnrollmentAutoStart
[];
659 extern const char kDeviceEnrollmentCanExit
[];
660 extern const char kTimesHIDDialogShown
[];
661 extern const char kUsersLRUInputMethod
[];
662 extern const char kEchoCheckedOffers
[];
663 extern const char kCachedMultiProfileUserBehavior
[];
664 extern const char kInitialLocale
[];
665 extern const char kOobeComplete
[];
666 extern const char kOobeScreenPending
[];
667 extern const char kDeviceRegistered
[];
668 extern const char kEnrollmentRecoveryRequired
[];
669 extern const char kUsedPolicyCertificates
[];
670 extern const char kServerBackedDeviceState
[];
671 extern const char kCustomizationDefaultWallpaperURL
[];
672 extern const char kLogoutStartedLast
[];
673 extern const char kConsumerManagementStage
[];
674 extern const char kNewOobe
[];
675 extern const char kConsumerManagementEnrollmentStage
[];
676 extern const char kWebviewSigninEnabled
[];
677 #endif // defined(OS_CHROMEOS)
679 extern const char kClearPluginLSODataEnabled
[];
680 extern const char kPepperFlashSettingsEnabled
[];
681 extern const char kDiskCacheDir
[];
682 extern const char kDiskCacheSize
[];
683 extern const char kMediaCacheSize
[];
685 extern const char kChromeOsReleaseChannel
[];
687 extern const char kPerformanceTracingEnabled
[];
689 extern const char kTabStripStackedLayout
[];
691 extern const char kRegisteredBackgroundContents
[];
693 #if !defined(OS_ANDROID)
694 extern const char kShownAutoLaunchInfobar
[];
697 extern const char kAuthSchemes
[];
698 extern const char kDisableAuthNegotiateCnameLookup
[];
699 extern const char kEnableAuthNegotiatePort
[];
700 extern const char kAuthServerWhitelist
[];
701 extern const char kAuthNegotiateDelegateWhitelist
[];
702 extern const char kGSSAPILibraryName
[];
703 extern const char kAllowCrossOriginAuthPrompt
[];
705 extern const char kBuiltInDnsClientEnabled
[];
707 extern const char kRegisteredProtocolHandlers
[];
708 extern const char kIgnoredProtocolHandlers
[];
709 extern const char kPolicyRegisteredProtocolHandlers
[];
710 extern const char kPolicyIgnoredProtocolHandlers
[];
711 extern const char kCustomHandlersEnabled
[];
713 #if defined(OS_MACOSX)
714 extern const char kUserRemovedLoginItem
[];
715 extern const char kChromeCreatedLoginItem
[];
716 extern const char kMigratedLoginItemPref
[];
717 extern const char kNotifyWhenAppsKeepChromeAlive
[];
720 extern const char kBackgroundModeEnabled
[];
721 extern const char kHardwareAccelerationModeEnabled
[];
722 extern const char kHardwareAccelerationModePrevious
[];
724 extern const char kDevicePolicyRefreshRate
[];
726 extern const char kFactoryResetRequested
[];
727 extern const char kDebuggingFeaturesRequested
[];
729 extern const char kMessageCenterShowedFirstRunBalloon
[];
730 extern const char kMessageCenterShowIcon
[];
731 extern const char kMessageCenterForcedOnTaskbar
[];
733 #if defined(OS_CHROMEOS)
734 extern const char kResolveDeviceTimezoneByGeolocation
[];
735 #endif // defined(OS_CHROMEOS)
737 extern const char kAttemptedToEnableAutoupdate
[];
739 extern const char kMediaGalleriesUniqueId
[];
740 extern const char kMediaGalleriesRememberedGalleries
[];
741 extern const char kMediaGalleriesLastScanTime
[];
744 extern const char kShelfAlignment
[];
745 extern const char kShelfAlignmentLocal
[];
746 extern const char kShelfAutoHideBehavior
[];
747 extern const char kShelfAutoHideBehaviorLocal
[];
748 extern const char kShelfChromeIconIndex
[];
749 extern const char kShelfPreferences
[];
751 extern const char kLogoutDialogDurationMs
[];
752 extern const char kPinnedLauncherApps
[];
753 extern const char kShowLogoutButtonInTray
[];
756 #if defined(USE_AURA)
757 extern const char kMaxSeparationForGestureTouchesInPixels
[];
758 extern const char kSemiLongPressTimeInMs
[];
759 extern const char kTabScrubActivationDelayInMs
[];
760 extern const char kFlingMaxCancelToDownTimeInMs
[];
761 extern const char kFlingMaxTapGapTimeInMs
[];
762 extern const char kOverscrollHorizontalThresholdComplete
[];
763 extern const char kOverscrollVerticalThresholdComplete
[];
764 extern const char kOverscrollMinimumThresholdStart
[];
765 extern const char kOverscrollMinimumThresholdStartTouchpad
[];
766 extern const char kOverscrollVerticalThresholdStart
[];
767 extern const char kOverscrollHorizontalResistThreshold
[];
768 extern const char kOverscrollVerticalResistThreshold
[];
771 extern const char kNetworkProfileWarningsLeft
[];
772 extern const char kNetworkProfileLastWarningTime
[];
774 #if defined(OS_CHROMEOS)
775 extern const char kRLZBrand
[];
776 extern const char kRLZDisabled
[];
779 #if defined(ENABLE_APP_LIST)
780 extern const char kAppListProfile
[];
781 extern const char kLastAppListLaunchPing
[];
782 extern const char kAppListLaunchCount
[];
783 extern const char kLastAppListAppLaunchPing
[];
784 extern const char kAppListAppLaunchCount
[];
785 extern const char kAppLauncherHasBeenEnabled
[];
786 extern const char kAppListEnableMethod
[];
787 extern const char kAppListEnableTime
[];
788 extern const char kAppLauncherShortcutVersion
[];
789 extern const char kShowAppLauncherPromo
[];
790 extern const char kAppLauncherDriveAppMapping
[];
791 extern const char kAppLauncherUninstalledDriveApps
[];
794 extern const char kAppLaunchForMetroRestart
[];
795 extern const char kAppLaunchForMetroRestartProfile
[];
796 extern const char kAppShortcutsVersion
[];
798 extern const char kModuleConflictBubbleShown
[];
800 extern const char kDRMSalt
[];
801 extern const char kEnableDRM
[];
803 extern const char kWatchdogExtensionActive
[];
805 #if defined(OS_ANDROID)
806 extern const char kPartnerBookmarkMappings
[];
809 extern const char kQuickCheckEnabled
[];
810 extern const char kBrowserGuestModeEnabled
[];
811 extern const char kBrowserAddPersonEnabled
[];
813 extern const char kEasyUnlockDeviceId
[];
814 extern const char kEasyUnlockHardlockState
[];
815 extern const char kEasyUnlockLocalStateTpmKeys
[];
816 extern const char kEasyUnlockLocalStateUserPrefs
[];
818 extern const char kPasswordBubbleNopesCount
[];
820 extern const char kRecoveryComponentNeedsElevation
[];
822 extern const char kRegisteredSupervisedUserWhitelists
[];
824 #if defined(ENABLE_EXTENSIONS)
825 extern const char kAnimationPolicy
[];
830 #endif // CHROME_COMMON_PREF_NAMES_H_