Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / chrome / common / pref_names.h
blob6936a4621d3f4a4ebd106cdd398aca711bc29c68
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 kSupervisedUserSecondCustodianEmail[];
44 extern const char kSupervisedUserSecondCustodianName[];
45 extern const char kSupervisedUserSecondCustodianProfileImageURL[];
46 extern const char kSupervisedUserSecondCustodianProfileURL[];
47 extern const char kSupervisedUserSharedSettings[];
48 extern const char kSupervisedUserWhitelists[];
49 extern const char kURLsToRestoreOnStartup[];
50 extern const char kURLsToRestoreOnStartupOld[];
52 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state
53 // and user's profile. Global property determines locale of login screen,
54 // while user's profile determines his personal locale preference.
55 extern const char kApplicationLocale[];
56 #if defined(OS_CHROMEOS)
57 extern const char kApplicationLocaleBackup[];
58 extern const char kApplicationLocaleAccepted[];
59 extern const char kOwnerLocale[];
60 #endif
62 extern const char kDefaultCharset[];
63 extern const char kAcceptLanguages[];
64 extern const char kStaticEncodings[];
65 extern const char kWebKitCommonScript[];
66 extern const char kWebKitStandardFontFamily[];
67 extern const char kWebKitFixedFontFamily[];
68 extern const char kWebKitSerifFontFamily[];
69 extern const char kWebKitSansSerifFontFamily[];
70 extern const char kWebKitCursiveFontFamily[];
71 extern const char kWebKitFantasyFontFamily[];
72 extern const char kWebKitPictographFontFamily[];
74 // ISO 15924 four-letter script codes that per-script font prefs are supported
75 // for.
76 extern const char* const kWebKitScriptsForFontFamilyMaps[];
77 extern const size_t kWebKitScriptsForFontFamilyMapsLength;
79 // Per-script font pref prefixes.
80 extern const char kWebKitStandardFontFamilyMap[];
81 extern const char kWebKitFixedFontFamilyMap[];
82 extern const char kWebKitSerifFontFamilyMap[];
83 extern const char kWebKitSansSerifFontFamilyMap[];
84 extern const char kWebKitCursiveFontFamilyMap[];
85 extern const char kWebKitFantasyFontFamilyMap[];
86 extern const char kWebKitPictographFontFamilyMap[];
88 // Per-script font prefs that have defaults, for easy reference when registering
89 // the defaults.
90 extern const char kWebKitStandardFontFamilyArabic[];
91 #if defined(OS_WIN)
92 extern const char kWebKitFixedFontFamilyArabic[];
93 #endif
94 extern const char kWebKitSerifFontFamilyArabic[];
95 extern const char kWebKitSansSerifFontFamilyArabic[];
96 #if defined(OS_WIN)
97 extern const char kWebKitStandardFontFamilyCyrillic[];
98 extern const char kWebKitFixedFontFamilyCyrillic[];
99 extern const char kWebKitSerifFontFamilyCyrillic[];
100 extern const char kWebKitSansSerifFontFamilyCyrillic[];
101 extern const char kWebKitStandardFontFamilyGreek[];
102 extern const char kWebKitFixedFontFamilyGreek[];
103 extern const char kWebKitSerifFontFamilyGreek[];
104 extern const char kWebKitSansSerifFontFamilyGreek[];
105 #endif
106 extern const char kWebKitStandardFontFamilyJapanese[];
107 extern const char kWebKitFixedFontFamilyJapanese[];
108 extern const char kWebKitSerifFontFamilyJapanese[];
109 extern const char kWebKitSansSerifFontFamilyJapanese[];
110 extern const char kWebKitStandardFontFamilyKorean[];
111 extern const char kWebKitFixedFontFamilyKorean[];
112 extern const char kWebKitSerifFontFamilyKorean[];
113 extern const char kWebKitSansSerifFontFamilyKorean[];
114 #if defined(OS_WIN)
115 extern const char kWebKitCursiveFontFamilyKorean[];
116 #endif
117 extern const char kWebKitStandardFontFamilySimplifiedHan[];
118 extern const char kWebKitFixedFontFamilySimplifiedHan[];
119 extern const char kWebKitSerifFontFamilySimplifiedHan[];
120 extern const char kWebKitSansSerifFontFamilySimplifiedHan[];
121 extern const char kWebKitStandardFontFamilyTraditionalHan[];
122 extern const char kWebKitFixedFontFamilyTraditionalHan[];
123 extern const char kWebKitSerifFontFamilyTraditionalHan[];
124 extern const char kWebKitSansSerifFontFamilyTraditionalHan[];
126 extern const char kWebKitDefaultFontSize[];
127 extern const char kWebKitDefaultFixedFontSize[];
128 extern const char kWebKitMinimumFontSize[];
129 extern const char kWebKitMinimumLogicalFontSize[];
130 extern const char kWebKitJavascriptEnabled[];
131 extern const char kWebKitWebSecurityEnabled[];
132 extern const char kWebKitJavascriptCanOpenWindowsAutomatically[];
133 extern const char kWebKitLoadsImagesAutomatically[];
134 extern const char kWebKitPluginsEnabled[];
135 extern const char kWebKitDomPasteEnabled[];
136 extern const char kWebKitUsesUniversalDetector[];
137 extern const char kWebKitTextAreasAreResizable[];
138 extern const char kWebKitJavaEnabled[];
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 extern const char kDisableDrive[];
186 extern const char kDisableDriveOverCellular[];
187 extern const char kDisableDriveHostedFiles[];
188 // TODO(yusukes): Change "kLanguageABC" to "kABC". The current form is too long
189 // to remember and confusing. The prefs are actually for input methods and i18n
190 // keyboards, not UI languages.
191 extern const char kLanguageCurrentInputMethod[];
192 extern const char kLanguagePreviousInputMethod[];
193 extern const char kLanguagePreferredLanguages[];
194 extern const char kLanguagePreferredLanguagesSyncable[];
195 extern const char kLanguagePreloadEngines[];
196 extern const char kLanguagePreloadEnginesSyncable[];
197 extern const char kLanguageEnabledExtensionImes[];
198 extern const char kLanguageEnabledExtensionImesSyncable[];
199 extern const char kLanguageShouldMergeInputMethods[];
200 extern const char kLanguageRemapCapsLockKeyTo[];
201 extern const char kLanguageRemapSearchKeyTo[];
202 extern const char kLanguageRemapControlKeyTo[];
203 extern const char kLanguageRemapAltKeyTo[];
204 extern const char kLanguageRemapDiamondKeyTo[];
205 extern const char kLanguageSendFunctionKeys[];
206 extern const char kLanguageXkbAutoRepeatEnabled[];
207 extern const char kLanguageXkbAutoRepeatDelay[];
208 extern const char kLanguageXkbAutoRepeatInterval[];
209 extern const char kAccessibilityLargeCursorEnabled[];
210 extern const char kAccessibilityStickyKeysEnabled[];
211 extern const char kAccessibilitySpokenFeedbackEnabled[];
212 extern const char kAccessibilityHighContrastEnabled[];
213 extern const char kAccessibilityScreenMagnifierEnabled[];
214 extern const char kAccessibilityScreenMagnifierType[];
215 extern const char kAccessibilityScreenMagnifierScale[];
216 extern const char kAccessibilityVirtualKeyboardEnabled[];
217 extern const char kAccessibilityAutoclickEnabled[];
218 extern const char kAccessibilityAutoclickDelayMs[];
219 extern const char kShouldAlwaysShowAccessibilityMenu[];
220 extern const char kLabsAdvancedFilesystemEnabled[];
221 extern const char kLabsMediaplayerEnabled[];
222 extern const char kEnableAutoScreenLock[];
223 extern const char kShowPlanNotifications[];
224 extern const char kShow3gPromoNotification[];
225 extern const char kDataSaverPromptsShown[];
226 extern const char kChromeOSReleaseNotesVersion[];
227 extern const char kUseSharedProxies[];
228 extern const char kDisplayPowerState[];
229 extern const char kDisplayProperties[];
230 extern const char kSecondaryDisplays[];
231 extern const char kDisplayRotationLock[];
232 extern const char kSessionUserActivitySeen[];
233 extern const char kSessionStartTime[];
234 extern const char kSessionLengthLimit[];
235 extern const char kSessionWaitForInitialUserActivity[];
236 extern const char kPowerAcScreenDimDelayMs[];
237 extern const char kPowerAcScreenOffDelayMs[];
238 extern const char kPowerAcScreenLockDelayMs[];
239 extern const char kPowerAcIdleWarningDelayMs[];
240 extern const char kPowerAcIdleDelayMs[];
241 extern const char kPowerBatteryScreenDimDelayMs[];
242 extern const char kPowerBatteryScreenOffDelayMs[];
243 extern const char kPowerBatteryScreenLockDelayMs[];
244 extern const char kPowerBatteryIdleWarningDelayMs[];
245 extern const char kPowerBatteryIdleDelayMs[];
246 extern const char kPowerLockScreenDimDelayMs[];
247 extern const char kPowerLockScreenOffDelayMs[];
248 extern const char kPowerAcIdleAction[];
249 extern const char kPowerBatteryIdleAction[];
250 extern const char kPowerLidClosedAction[];
251 extern const char kPowerUseAudioActivity[];
252 extern const char kPowerUseVideoActivity[];
253 extern const char kPowerAllowScreenWakeLocks[];
254 extern const char kPowerPresentationScreenDimDelayFactor[];
255 extern const char kPowerUserActivityScreenDimDelayFactor[];
256 extern const char kPowerWaitForInitialUserActivity[];
257 extern const char kPowerForceNonzeroBrightnessForUserActivity[];
258 extern const char kTermsOfServiceURL[];
259 extern const char kUsedPolicyCertificatesOnce[];
260 extern const char kAttestationEnabled[];
261 extern const char kAttestationExtensionWhitelist[];
262 extern const char kTouchHudProjectionEnabled[];
263 extern const char kOpenNetworkConfiguration[];
264 extern const char kMultiProfileNeverShowIntro[];
265 extern const char kMultiProfileWarningShowDismissed[];
266 extern const char kMultiProfileUserBehavior[];
267 extern const char kFirstRunTutorialShown[];
268 extern const char kSAMLOfflineSigninTimeLimit[];
269 extern const char kSAMLLastGAIASignInTime[];
270 extern const char kTimeOnOobe[];
271 extern const char kCurrentWallpaperAppName[];
272 extern const char kFileSystemProviderMounted[];
273 extern const char kTouchVirtualKeyboardEnabled[];
274 extern const char kWakeOnWifiSsid[];
275 extern const char kCaptivePortalAuthenticationIgnoresProxy[];
276 extern const char kForceMaximizeOnFirstRun[];
277 #endif // defined(OS_CHROMEOS)
278 extern const char kShowHomeButton[];
279 extern const char kRecentlySelectedEncoding[];
280 extern const char kDeleteBrowsingHistory[];
281 extern const char kDeleteDownloadHistory[];
282 extern const char kDeleteCache[];
283 extern const char kDeleteCookies[];
284 extern const char kDeletePasswords[];
285 extern const char kDeleteFormData[];
286 extern const char kDeleteHostedAppsData[];
287 extern const char kDeauthorizeContentLicenses[];
288 extern const char kEnableContinuousSpellcheck[];
289 extern const char kSpeechRecognitionFilterProfanities[];
290 extern const char kEnabledLabsExperiments[];
291 extern const char kEnableAutoSpellCorrect[];
292 extern const char kSavingBrowserHistoryDisabled[];
293 extern const char kAllowDeletingBrowserHistory[];
294 extern const char kForceGoogleSafeSearch[];
295 extern const char kForceYouTubeSafetyMode[];
296 extern const char kRecordHistory[];
297 extern const char kDeleteTimePeriod[];
298 extern const char kLastClearBrowsingDataTime[];
299 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
300 extern const char kUsesSystemTheme[];
301 #endif
302 extern const char kCurrentThemePackFilename[];
303 extern const char kCurrentThemeID[];
304 extern const char kCurrentThemeImages[];
305 extern const char kCurrentThemeColors[];
306 extern const char kCurrentThemeTints[];
307 extern const char kCurrentThemeDisplayProperties[];
308 extern const char kExtensionsUIDeveloperMode[];
309 extern const char kExtensionsUIDismissedADTPromo[];
310 extern const char kExtensionCommands[];
311 extern const char kPluginsLastInternalDirectory[];
312 extern const char kPluginsPluginsList[];
313 extern const char kPluginsDisabledPlugins[];
314 extern const char kPluginsDisabledPluginsExceptions[];
315 extern const char kPluginsEnabledPlugins[];
316 extern const char kEnableNpapi[];
317 extern const char kPluginsMigratedToPepperFlash[];
318 extern const char kPluginsRemovedOldComponentPepperFlashSettings[];
319 #if !defined(OS_ANDROID)
320 extern const char kPluginsShowDetails[];
321 #endif
322 extern const char kPluginsAllowOutdated[];
323 extern const char kPluginsAlwaysAuthorize[];
324 #if defined(ENABLE_PLUGIN_INSTALLATION)
325 extern const char kPluginsMetadata[];
326 extern const char kPluginsResourceCacheUpdate[];
327 #endif
328 extern const char kCheckDefaultBrowser[];
329 extern const char kDefaultBrowserSettingEnabled[];
330 #if defined(OS_MACOSX)
331 extern const char kShowUpdatePromotionInfoBar[];
332 #endif
333 extern const char kUseCustomChromeFrame[];
334 #if !defined(OS_ANDROID)
335 extern const char kContentSettingsPluginWhitelist[];
336 #endif
337 extern const char kBlockThirdPartyCookies[];
338 extern const char kClearSiteDataOnExit[];
339 extern const char kPartitionDefaultZoomLevel[];
340 extern const char kDefaultZoomLevelDeprecated[];
341 extern const char kPartitionPerHostZoomLevels[];
342 extern const char kPerHostZoomLevelsDeprecated[];
343 extern const char kAutofillDialogAutofillDefault[];
344 extern const char kAutofillDialogPayWithoutWallet[];
345 extern const char kAutofillDialogWalletLocationAcceptance[];
346 extern const char kAutofillDialogSaveData[];
347 extern const char kAutofillDialogWalletShippingSameAsBilling[];
348 extern const char kAutofillGeneratedCardBubbleTimesShown[];
349 #if defined(OS_ANDROID)
350 extern const char kAutofillDialogDefaults[];
351 #endif
353 #if !defined(OS_ANDROID)
354 extern const char kPinnedTabs[];
355 #endif
357 extern const char kDisable3DAPIs[];
358 extern const char kEnableDeprecatedWebPlatformFeatures[];
359 extern const char kEnableHyperlinkAuditing[];
360 extern const char kEnableReferrers[];
361 extern const char kEnableDoNotTrack[];
363 extern const char kImportAutofillFormData[];
364 extern const char kImportBookmarks[];
365 extern const char kImportHistory[];
366 extern const char kImportHomepage[];
367 extern const char kImportSavedPasswords[];
368 extern const char kImportSearchEngine[];
370 extern const char kProfileAvatarIndex[];
371 extern const char kProfileUsingDefaultName[];
372 extern const char kProfileName[];
373 extern const char kProfileUsingDefaultAvatar[];
374 extern const char kProfileUsingGAIAAvatar[];
375 extern const char kSupervisedUserId[];
377 extern const char kProfileGAIAInfoUpdateTime[];
378 extern const char kProfileGAIAInfoPictureURL[];
380 extern const char kProfileAvatarTutorialShown[];
381 extern const char kProfileAvatarRightClickTutorialDismissed[];
383 extern const char kInvertNotificationShown[];
385 extern const char kPrintingEnabled[];
386 extern const char kPrintPreviewDisabled[];
388 extern const char kDefaultSupervisedUserFilteringBehavior[];
390 extern const char kSupervisedUserCreationAllowed[];
391 extern const char kSupervisedUsers[];
393 extern const char kProfileResetPromptMementoInProfilePrefs[];
395 extern const char kMessageCenterDisabledExtensionIds[];
396 extern const char kMessageCenterDisabledSystemComponentIds[];
397 extern const char kWelcomeNotificationDismissed[];
398 extern const char kWelcomeNotificationDismissedLocal[];
399 extern const char kWelcomeNotificationPreviouslyPoppedUp[];
400 extern const char kWelcomeNotificationExpirationTimestamp[];
402 extern const char kFullscreenAllowed[];
404 extern const char kLocalDiscoveryNotificationsEnabled[];
406 extern const char kPreferenceResetTime[];
408 extern const char kPushMessagingRegistrationCount[];
409 extern const char kPushMessagingAppIdentifierMap[];
411 extern const char kEasyUnlockAllowed[];
412 extern const char kEasyUnlockEnabled[];
413 extern const char kEasyUnlockPairing[];
414 extern const char kEasyUnlockProximityRequired[];
416 extern const char kZeroSuggestCachedResults[];
418 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS)
419 extern const char kCopresenceAuthenticatedDeviceId[];
420 extern const char kCopresenceAnonymousDeviceId[];
421 extern const char kToolbarIconSurfacingBubbleAcknowledged[];
422 extern const char kToolbarIconSurfacingBubbleLastShowTime[];
423 #endif
425 #if defined(ENABLE_WEBRTC)
426 extern const char kWebRTCMultipleRoutesEnabled[];
427 #endif
429 // Local state prefs. Please add Profile prefs above instead.
430 extern const char kCertRevocationCheckingEnabled[];
431 extern const char kCertRevocationCheckingRequiredLocalAnchors[];
432 extern const char kSSLVersionMin[];
433 extern const char kSSLVersionMax[];
434 extern const char kSSLVersionFallbackMin[];
435 extern const char kCipherSuiteBlacklist[];
436 extern const char kDisableSSLRecordSplitting[];
438 extern const char kGLVendorString[];
439 extern const char kGLRendererString[];
440 extern const char kGLVersionString[];
442 extern const char kMetricsReportingEnabled[];
444 // Android has it's own metric / crash reporting implemented in Android
445 // Java code so kMetricsReportingEnabled doesn't make sense. We use this
446 // to inform crashes_ui that we have enabled crash reporting.
447 #if defined(OS_ANDROID)
448 extern const char kCrashReportingEnabled[];
449 #endif
451 extern const char kVariationsCompressedSeed[];
452 extern const char kVariationsLastFetchTime[];
453 extern const char kVariationsPermanentConsistencyCountry[];
454 extern const char kVariationsRestrictParameter[];
455 extern const char kVariationsSeed[];
456 extern const char kVariationsSeedDate[];
457 extern const char kVariationsSeedSignature[];
459 extern const char kDeviceOpenNetworkConfiguration[];
461 extern const char kProfileLastUsed[];
462 extern const char kProfilesLastActive[];
463 extern const char kProfilesNumCreated[];
464 extern const char kProfileInfoCache[];
465 extern const char kProfileCreatedByVersion[];
466 extern const char kProfileResetPromptMementosInLocalState[];
468 extern const char kStabilityPageLoadCount[];
469 extern const char kStabilityRendererCrashCount[];
470 extern const char kStabilityExtensionRendererCrashCount[];
471 extern const char kStabilityRendererHangCount[];
472 extern const char kStabilityChildProcessCrashCount[];
473 extern const char kStabilityOtherUserCrashCount[];
474 extern const char kStabilityKernelCrashCount[];
475 extern const char kStabilitySystemUncleanShutdownCount[];
476 #if defined(OS_ANDROID)
477 extern const char kStabilityForegroundActivityType[];
478 extern const char kStabilityLaunchedActivityFlags[];
479 extern const char kStabilityLaunchedActivityCounts[];
480 extern const char kStabilityCrashedActivityCounts[];
481 #endif
483 extern const char kStabilityPluginStats[];
484 extern const char kStabilityPluginName[];
485 extern const char kStabilityPluginLaunches[];
486 extern const char kStabilityPluginInstances[];
487 extern const char kStabilityPluginCrashes[];
488 extern const char kStabilityPluginLoadingErrors[];
490 extern const char kUninstallMetricsPageLoadCount[];
491 extern const char kUninstallLastLaunchTimeSec[];
492 extern const char kUninstallLastObservedRunTimeSec[];
494 extern const char kBrowserSuppressDefaultBrowserPrompt[];
496 extern const char kBrowserWindowPlacement[];
497 extern const char kBrowserWindowPlacementPopup[];
498 extern const char kTaskManagerWindowPlacement[];
499 extern const char kAppWindowPlacement[];
501 extern const char kDownloadDefaultDirectory[];
502 extern const char kDownloadExtensionsToOpen[];
503 extern const char kDownloadDirUpgraded[];
504 #if defined(OS_WIN) || defined(OS_LINUX) || \
505 (defined(OS_MACOSX) && !defined(OS_IOS))
506 extern const char kOpenPdfDownloadInSystemReader[];
507 #endif
509 extern const char kSaveFileDefaultDirectory[];
510 extern const char kSaveFileType[];
512 extern const char kAllowFileSelectionDialogs[];
513 extern const char kDefaultTasksByMimeType[];
514 extern const char kDefaultTasksBySuffix[];
516 extern const char kSelectFileLastDirectory[];
518 extern const char kHungPluginDetectFrequency[];
519 extern const char kPluginMessageResponseTimeout[];
521 extern const char kSpellCheckDictionary[];
522 extern const char kSpellCheckUseSpellingService[];
524 extern const char kExcludedSchemes[];
526 extern const char kOptionsWindowLastTabIndex[];
527 extern const char kShowFirstRunBubbleOption[];
529 extern const char kLastKnownIntranetRedirectOrigin[];
531 extern const char kShutdownType[];
532 extern const char kShutdownNumProcesses[];
533 extern const char kShutdownNumProcessesSlow[];
535 extern const char kRestartLastSessionOnShutdown[];
536 extern const char kWasRestarted[];
537 #if defined(OS_WIN)
538 extern const char kRelaunchMode[];
539 #endif
541 extern const char kDisableExtensions[];
542 extern const char kDisablePluginFinder[];
544 extern const char kNtpAppPageNames[];
545 #if defined(OS_ANDROID)
546 extern const char kNtpCollapsedCurrentlyOpenTabs[];
547 #endif
548 extern const char kNtpCollapsedForeignSessions[];
549 #if defined(OS_ANDROID)
550 extern const char kNtpCollapsedRecentlyClosedTabs[];
551 extern const char kNtpCollapsedSnapshotDocument[];
552 extern const char kNtpCollapsedSyncPromo[];
553 #endif
554 extern const char kNtpMostVisitedURLsBlacklist[];
555 extern const char kNtpShownPage[];
557 extern const char kDevToolsAdbKey[];
558 extern const char kDevToolsDisabled[];
559 extern const char kDevToolsDiscoverUsbDevicesEnabled[];
560 extern const char kDevToolsEditedFiles[];
561 extern const char kDevToolsFileSystemPaths[];
562 extern const char kDevToolsPortForwardingEnabled[];
563 extern const char kDevToolsPortForwardingDefaultSet[];
564 extern const char kDevToolsPortForwardingConfig[];
565 extern const char kDevToolsPreferences[];
566 #if defined(OS_ANDROID)
567 extern const char kDevToolsRemoteEnabled[];
568 #endif
570 extern const char kGoogleServicesPasswordHash[];
572 extern const char kInvalidationServiceUseGCMChannel[];
574 #if !defined(OS_ANDROID) && !defined(OS_IOS)
575 extern const char kSignInPromoStartupCount[];
576 extern const char kSignInPromoUserSkipped[];
577 extern const char kSignInPromoShowOnFirstRunAllowed[];
578 extern const char kSignInPromoShowNTPBubble[];
579 #endif
581 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS)
582 extern const char kCrossDevicePromoOptedOut[];
583 extern const char kCrossDevicePromoActive[];
584 extern const char kCrossDevicePromoObservedSingleAccountCookie[];
585 extern const char kCrossDevicePromoNextFetchListDevicesTime[];
586 extern const char kCrossDevicePromoNumDevices[];
587 extern const char kCrossDevicePromoLastDeviceActiveTime[];
588 #endif
590 extern const char kWebAppCreateOnDesktop[];
591 extern const char kWebAppCreateInAppsMenu[];
592 extern const char kWebAppCreateInQuickLaunchBar[];
594 extern const char kGeolocationAccessToken[];
595 #if defined(OS_ANDROID)
596 extern const char kGeolocationEnabled[];
597 #endif
599 #if defined(ENABLE_GOOGLE_NOW)
600 extern const char kGoogleGeolocationAccessEnabled[];
601 #endif
602 extern const char kGoogleNowLauncherEnabled[];
604 extern const char kDefaultAudioCaptureDevice[];
605 extern const char kDefaultVideoCaptureDevice[];
606 extern const char kMediaDeviceIdSalt[];
608 extern const char kPrintPreviewStickySettings[];
609 extern const char kCloudPrintRoot[];
610 extern const char kCloudPrintDialogWidth[];
611 extern const char kCloudPrintDialogHeight[];
612 extern const char kCloudPrintProxyEnabled[];
613 extern const char kCloudPrintProxyId[];
614 extern const char kCloudPrintAuthToken[];
615 extern const char kCloudPrintEmail[];
616 extern const char kCloudPrintPrintSystemSettings[];
617 extern const char kCloudPrintEnableJobPoll[];
618 extern const char kCloudPrintRobotRefreshToken[];
619 extern const char kCloudPrintRobotEmail[];
620 extern const char kCloudPrintConnectNewPrinters[];
621 extern const char kCloudPrintXmppPingEnabled[];
622 extern const char kCloudPrintXmppPingTimeout[];
623 extern const char kCloudPrintPrinters[];
624 extern const char kCloudPrintSubmitEnabled[];
625 extern const char kCloudPrintUserSettings[];
627 extern const char kProxy[];
628 extern const char kMaxConnectionsPerProxy[];
630 extern const char kAudioCaptureAllowed[];
631 extern const char kAudioCaptureAllowedUrls[];
632 extern const char kVideoCaptureAllowed[];
633 extern const char kVideoCaptureAllowedUrls[];
635 extern const char kHotwordSearchEnabled[];
636 extern const char kHotwordAlwaysOnSearchEnabled[];
637 extern const char kHotwordAlwaysOnNotificationSeen[];
638 extern const char kHotwordAudioLoggingEnabled[];
639 extern const char kHotwordPreviousLanguage[];
641 #if defined(OS_ANDROID)
642 extern const char kProtectedMediaIdentifierEnabled[];
643 #endif
645 #if defined(OS_CHROMEOS)
646 extern const char kDeviceSettingsCache[];
647 extern const char kHardwareKeyboardLayout[];
648 extern const char kCarrierDealPromoShown[];
649 extern const char kShouldAutoEnroll[];
650 extern const char kAutoEnrollmentPowerLimit[];
651 extern const char kDeviceActivityTimes[];
652 extern const char kDeviceLocation[];
653 extern const char kExternalStorageDisabled[];
654 extern const char kOwnerPrimaryMouseButtonRight[];
655 extern const char kOwnerTapToClickEnabled[];
656 extern const char kUptimeLimit[];
657 extern const char kRebootAfterUpdate[];
658 extern const char kDeviceRobotAnyApiRefreshToken[];
659 extern const char kDeviceEnrollmentRequisition[];
660 extern const char kDeviceEnrollmentAutoStart[];
661 extern const char kDeviceEnrollmentCanExit[];
662 extern const char kTimesHIDDialogShown[];
663 extern const char kUsersLRUInputMethod[];
664 extern const char kEchoCheckedOffers[];
665 extern const char kCachedMultiProfileUserBehavior[];
666 extern const char kInitialLocale[];
667 extern const char kOobeComplete[];
668 extern const char kOobeScreenPending[];
669 extern const char kDeviceRegistered[];
670 extern const char kEnrollmentRecoveryRequired[];
671 extern const char kUsedPolicyCertificates[];
672 extern const char kServerBackedDeviceState[];
673 extern const char kCustomizationDefaultWallpaperURL[];
674 extern const char kLogoutStartedLast[];
675 extern const char kConsumerManagementStage[];
676 extern const char kNewOobe[];
677 extern const char kWebviewSigninDisabled[];
678 extern const char kNewLoginUIPopup[];
679 #endif // defined(OS_CHROMEOS)
681 extern const char kClearPluginLSODataEnabled[];
682 extern const char kPepperFlashSettingsEnabled[];
683 extern const char kDiskCacheDir[];
684 extern const char kDiskCacheSize[];
685 extern const char kMediaCacheSize[];
687 extern const char kChromeOsReleaseChannel[];
689 extern const char kPerformanceTracingEnabled[];
691 extern const char kTabStripStackedLayout[];
693 extern const char kRegisteredBackgroundContents[];
695 #if defined(OS_WIN)
696 extern const char kShownAutoLaunchInfobar[];
697 #endif
699 extern const char kAuthSchemes[];
700 extern const char kDisableAuthNegotiateCnameLookup[];
701 extern const char kEnableAuthNegotiatePort[];
702 extern const char kAuthServerWhitelist[];
703 extern const char kAuthNegotiateDelegateWhitelist[];
704 extern const char kGSSAPILibraryName[];
705 extern const char kAllowCrossOriginAuthPrompt[];
707 extern const char kBuiltInDnsClientEnabled[];
709 extern const char kRegisteredProtocolHandlers[];
710 extern const char kIgnoredProtocolHandlers[];
711 extern const char kPolicyRegisteredProtocolHandlers[];
712 extern const char kPolicyIgnoredProtocolHandlers[];
713 extern const char kCustomHandlersEnabled[];
715 #if defined(OS_MACOSX)
716 extern const char kUserRemovedLoginItem[];
717 extern const char kChromeCreatedLoginItem[];
718 extern const char kMigratedLoginItemPref[];
719 extern const char kNotifyWhenAppsKeepChromeAlive[];
720 #endif
722 extern const char kBackgroundModeEnabled[];
723 extern const char kHardwareAccelerationModeEnabled[];
724 extern const char kHardwareAccelerationModePrevious[];
726 extern const char kDevicePolicyRefreshRate[];
728 extern const char kFactoryResetRequested[];
729 extern const char kDebuggingFeaturesRequested[];
731 extern const char kMessageCenterShowedFirstRunBalloon[];
732 extern const char kMessageCenterShowIcon[];
733 extern const char kMessageCenterForcedOnTaskbar[];
735 #if defined(OS_CHROMEOS)
736 extern const char kResolveDeviceTimezoneByGeolocation[];
737 #endif // defined(OS_CHROMEOS)
739 extern const char kAttemptedToEnableAutoupdate[];
741 extern const char kMediaGalleriesUniqueId[];
742 extern const char kMediaGalleriesRememberedGalleries[];
743 extern const char kMediaGalleriesLastScanTime[];
745 #if defined(USE_ASH)
746 extern const char kShelfAlignment[];
747 extern const char kShelfAlignmentLocal[];
748 extern const char kShelfAutoHideBehavior[];
749 extern const char kShelfAutoHideBehaviorLocal[];
750 extern const char kShelfChromeIconIndex[];
751 extern const char kShelfPreferences[];
753 extern const char kLogoutDialogDurationMs[];
754 extern const char kPinnedLauncherApps[];
755 extern const char kShowLogoutButtonInTray[];
756 #endif
758 #if defined(USE_AURA)
759 extern const char kMaxSeparationForGestureTouchesInPixels[];
760 extern const char kSemiLongPressTimeInMs[];
761 extern const char kTabScrubActivationDelayInMs[];
762 extern const char kFlingMaxCancelToDownTimeInMs[];
763 extern const char kFlingMaxTapGapTimeInMs[];
764 extern const char kOverscrollHorizontalThresholdComplete[];
765 extern const char kOverscrollVerticalThresholdComplete[];
766 extern const char kOverscrollMinimumThresholdStart[];
767 extern const char kOverscrollMinimumThresholdStartTouchpad[];
768 extern const char kOverscrollVerticalThresholdStart[];
769 extern const char kOverscrollHorizontalResistThreshold[];
770 extern const char kOverscrollVerticalResistThreshold[];
771 #endif
773 #if defined(OS_WIN)
774 extern const char kNetworkProfileWarningsLeft[];
775 extern const char kNetworkProfileLastWarningTime[];
776 #endif
778 #if defined(OS_CHROMEOS)
779 extern const char kRLZBrand[];
780 extern const char kRLZDisabled[];
781 #endif
783 #if defined(ENABLE_APP_LIST)
784 extern const char kAppListProfile[];
785 extern const char kLastAppListLaunchPing[];
786 extern const char kAppListLaunchCount[];
787 extern const char kLastAppListAppLaunchPing[];
788 extern const char kAppListAppLaunchCount[];
789 extern const char kAppLauncherHasBeenEnabled[];
790 extern const char kAppListEnableMethod[];
791 extern const char kAppListEnableTime[];
792 extern const char kAppListLastLaunchTime[];
793 #if defined(OS_MACOSX)
794 extern const char kAppLauncherShortcutVersion[];
795 #endif
796 extern const char kShowAppLauncherPromo[];
797 extern const char kAppLauncherDriveAppMapping[];
798 extern const char kAppLauncherUninstalledDriveApps[];
799 #endif // defined(ENABLE_APP_LIST)
801 #if defined(OS_WIN)
802 extern const char kAppLaunchForMetroRestart[];
803 extern const char kAppLaunchForMetroRestartProfile[];
804 #endif
805 extern const char kAppShortcutsVersion[];
807 extern const char kModuleConflictBubbleShown[];
809 extern const char kDRMSalt[];
810 extern const char kEnableDRM[];
812 extern const char kWatchdogExtensionActive[];
814 #if defined(OS_ANDROID)
815 extern const char kPartnerBookmarkMappings[];
816 #endif
818 extern const char kQuickCheckEnabled[];
819 extern const char kBrowserGuestModeEnabled[];
820 extern const char kBrowserAddPersonEnabled[];
822 extern const char kEasyUnlockDeviceId[];
823 extern const char kEasyUnlockHardlockState[];
824 extern const char kEasyUnlockLocalStateTpmKeys[];
825 extern const char kEasyUnlockLocalStateUserPrefs[];
827 extern const char kRecoveryComponentNeedsElevation[];
829 extern const char kRegisteredSupervisedUserWhitelists[];
831 #if defined(ENABLE_EXTENSIONS)
832 extern const char kAnimationPolicy[];
833 #endif
835 } // namespace prefs
837 #endif // CHROME_COMMON_PREF_NAMES_H_