[Media Router] Add integration tests and e2e tests for media router and presentation...
[chromium-blink-merge.git] / chrome / common / pref_names.h
blob415d9e69cf0579ad5a1424437b8a070bb0ae1c53
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 // TODO(yusukes): Change "kLanguageABC" to "kABC". The current form is too long
186 // to remember and confusing. The prefs are actually for input methods and i18n
187 // keyboards, not UI languages.
188 extern const char kLanguageCurrentInputMethod[];
189 extern const char kLanguagePreviousInputMethod[];
190 extern const char kLanguagePreferredLanguages[];
191 extern const char kLanguagePreferredLanguagesSyncable[];
192 extern const char kLanguagePreloadEngines[];
193 extern const char kLanguagePreloadEnginesSyncable[];
194 extern const char kLanguageEnabledExtensionImes[];
195 extern const char kLanguageEnabledExtensionImesSyncable[];
196 extern const char kLanguageShouldMergeInputMethods[];
197 extern const char kLanguageRemapCapsLockKeyTo[];
198 extern const char kLanguageRemapSearchKeyTo[];
199 extern const char kLanguageRemapControlKeyTo[];
200 extern const char kLanguageRemapAltKeyTo[];
201 extern const char kLanguageRemapDiamondKeyTo[];
202 extern const char kLanguageSendFunctionKeys[];
203 extern const char kLanguageXkbAutoRepeatEnabled[];
204 extern const char kLanguageXkbAutoRepeatDelay[];
205 extern const char kLanguageXkbAutoRepeatInterval[];
206 extern const char kAccessibilityLargeCursorEnabled[];
207 extern const char kAccessibilityStickyKeysEnabled[];
208 extern const char kAccessibilitySpokenFeedbackEnabled[];
209 extern const char kAccessibilityHighContrastEnabled[];
210 extern const char kAccessibilityScreenMagnifierCenterFocus[];
211 extern const char kAccessibilityScreenMagnifierEnabled[];
212 extern const char kAccessibilityScreenMagnifierType[];
213 extern const char kAccessibilityScreenMagnifierScale[];
214 extern const char kAccessibilityVirtualKeyboardEnabled[];
215 extern const char kAccessibilityAutoclickEnabled[];
216 extern const char kAccessibilityAutoclickDelayMs[];
217 extern const char kShouldAlwaysShowAccessibilityMenu[];
218 extern const char kLabsAdvancedFilesystemEnabled[];
219 extern const char kLabsMediaplayerEnabled[];
220 extern const char kEnableAutoScreenLock[];
221 extern const char kShowPlanNotifications[];
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 kPluginsMigratedToPepperFlash[];
316 extern const char kPluginsRemovedOldComponentPepperFlashSettings[];
317 #if !defined(OS_ANDROID)
318 extern const char kPluginsShowDetails[];
319 #endif
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[];
325 #endif
326 extern const char kCheckDefaultBrowser[];
327 extern const char kDefaultBrowserSettingEnabled[];
328 #if defined(OS_MACOSX)
329 extern const char kShowUpdatePromotionInfoBar[];
330 #endif
331 extern const char kUseCustomChromeFrame[];
332 #if !defined(OS_ANDROID)
333 extern const char kContentSettingsPluginWhitelist[];
334 #endif
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 #if defined(OS_ANDROID)
348 extern const char kAutofillDialogDefaults[];
349 #endif
351 #if !defined(OS_ANDROID)
352 extern const char kPinnedTabs[];
353 #endif
355 extern const char kDisable3DAPIs[];
356 extern const char kEnableDeprecatedWebPlatformFeatures[];
357 extern const char kEnableHyperlinkAuditing[];
358 extern const char kEnableReferrers[];
359 extern const char kEnableDoNotTrack[];
361 extern const char kImportAutofillFormData[];
362 extern const char kImportBookmarks[];
363 extern const char kImportHistory[];
364 extern const char kImportHomepage[];
365 extern const char kImportSavedPasswords[];
366 extern const char kImportSearchEngine[];
368 extern const char kProfileAvatarIndex[];
369 extern const char kProfileUsingDefaultName[];
370 extern const char kProfileName[];
371 extern const char kProfileUsingDefaultAvatar[];
372 extern const char kProfileUsingGAIAAvatar[];
373 extern const char kSupervisedUserId[];
375 extern const char kProfileGAIAInfoUpdateTime[];
376 extern const char kProfileGAIAInfoPictureURL[];
378 extern const char kProfileAvatarTutorialShown[];
379 extern const char kProfileAvatarRightClickTutorialDismissed[];
381 extern const char kInvertNotificationShown[];
383 extern const char kPrintingEnabled[];
384 extern const char kPrintPreviewDisabled[];
386 extern const char kDefaultSupervisedUserFilteringBehavior[];
388 extern const char kSupervisedUserCreationAllowed[];
389 extern const char kSupervisedUsers[];
391 extern const char kProfileResetPromptMementoInProfilePrefs[];
393 extern const char kMessageCenterDisabledExtensionIds[];
394 extern const char kMessageCenterDisabledSystemComponentIds[];
395 extern const char kWelcomeNotificationDismissed[];
396 extern const char kWelcomeNotificationDismissedLocal[];
397 extern const char kWelcomeNotificationPreviouslyPoppedUp[];
398 extern const char kWelcomeNotificationExpirationTimestamp[];
400 extern const char kFullscreenAllowed[];
402 extern const char kLocalDiscoveryNotificationsEnabled[];
404 extern const char kPreferenceResetTime[];
406 extern const char kPushMessagingRegistrationCount[];
407 extern const char kPushMessagingAppIdentifierMap[];
409 extern const char kEasyUnlockAllowed[];
410 extern const char kEasyUnlockEnabled[];
411 extern const char kEasyUnlockPairing[];
412 extern const char kEasyUnlockProximityRequired[];
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[];
419 #endif
421 #if defined(ENABLE_WEBRTC)
422 extern const char kWebRTCMultipleRoutesEnabled[];
423 #endif
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 kGLVendorString[];
435 extern const char kGLRendererString[];
436 extern const char kGLVersionString[];
438 extern const char kMetricsReportingEnabled[];
440 // Android has it's own metric / crash reporting implemented in Android
441 // Java code so kMetricsReportingEnabled doesn't make sense. We use this
442 // to inform crashes_ui that we have enabled crash reporting.
443 #if defined(OS_ANDROID)
444 extern const char kCrashReportingEnabled[];
445 #endif
447 extern const char kVariationsCompressedSeed[];
448 extern const char kVariationsLastFetchTime[];
449 extern const char kVariationsPermanentConsistencyCountry[];
450 extern const char kVariationsRestrictParameter[];
451 extern const char kVariationsSeed[];
452 extern const char kVariationsSeedDate[];
453 extern const char kVariationsSeedSignature[];
455 extern const char kDeviceOpenNetworkConfiguration[];
457 extern const char kProfileLastUsed[];
458 extern const char kProfilesLastActive[];
459 extern const char kProfilesNumCreated[];
460 extern const char kProfileInfoCache[];
461 extern const char kProfileCreatedByVersion[];
462 extern const char kProfileResetPromptMementosInLocalState[];
464 extern const char kStabilityPageLoadCount[];
465 extern const char kStabilityRendererCrashCount[];
466 extern const char kStabilityExtensionRendererCrashCount[];
467 extern const char kStabilityRendererHangCount[];
468 extern const char kStabilityChildProcessCrashCount[];
469 extern const char kStabilityOtherUserCrashCount[];
470 extern const char kStabilityKernelCrashCount[];
471 extern const char kStabilitySystemUncleanShutdownCount[];
472 #if defined(OS_ANDROID)
473 extern const char kStabilityForegroundActivityType[];
474 extern const char kStabilityLaunchedActivityFlags[];
475 extern const char kStabilityLaunchedActivityCounts[];
476 extern const char kStabilityCrashedActivityCounts[];
477 #endif
479 extern const char kStabilityPluginStats[];
480 extern const char kStabilityPluginName[];
481 extern const char kStabilityPluginLaunches[];
482 extern const char kStabilityPluginInstances[];
483 extern const char kStabilityPluginCrashes[];
484 extern const char kStabilityPluginLoadingErrors[];
486 extern const char kUninstallMetricsPageLoadCount[];
487 extern const char kUninstallLastLaunchTimeSec[];
488 extern const char kUninstallLastObservedRunTimeSec[];
490 extern const char kBrowserSuppressDefaultBrowserPrompt[];
492 extern const char kBrowserWindowPlacement[];
493 extern const char kBrowserWindowPlacementPopup[];
494 extern const char kTaskManagerWindowPlacement[];
495 extern const char kAppWindowPlacement[];
497 extern const char kDownloadDefaultDirectory[];
498 extern const char kDownloadExtensionsToOpen[];
499 extern const char kDownloadDirUpgraded[];
500 #if defined(OS_WIN) || defined(OS_LINUX) || \
501 (defined(OS_MACOSX) && !defined(OS_IOS))
502 extern const char kOpenPdfDownloadInSystemReader[];
503 #endif
505 extern const char kSaveFileDefaultDirectory[];
506 extern const char kSaveFileType[];
508 extern const char kAllowFileSelectionDialogs[];
509 extern const char kDefaultTasksByMimeType[];
510 extern const char kDefaultTasksBySuffix[];
512 extern const char kSelectFileLastDirectory[];
514 extern const char kHungPluginDetectFrequency[];
515 extern const char kPluginMessageResponseTimeout[];
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 kCrossDevicePromoActive[];
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 kCloudPrintDialogWidth[];
606 extern const char kCloudPrintDialogHeight[];
607 extern const char kCloudPrintProxyEnabled[];
608 extern const char kCloudPrintProxyId[];
609 extern const char kCloudPrintAuthToken[];
610 extern const char kCloudPrintEmail[];
611 extern const char kCloudPrintPrintSystemSettings[];
612 extern const char kCloudPrintEnableJobPoll[];
613 extern const char kCloudPrintRobotRefreshToken[];
614 extern const char kCloudPrintRobotEmail[];
615 extern const char kCloudPrintConnectNewPrinters[];
616 extern const char kCloudPrintXmppPingEnabled[];
617 extern const char kCloudPrintXmppPingTimeout[];
618 extern const char kCloudPrintPrinters[];
619 extern const char kCloudPrintSubmitEnabled[];
620 extern const char kCloudPrintUserSettings[];
622 extern const char kProxy[];
623 extern const char kMaxConnectionsPerProxy[];
625 extern const char kAudioCaptureAllowed[];
626 extern const char kAudioCaptureAllowedUrls[];
627 extern const char kVideoCaptureAllowed[];
628 extern const char kVideoCaptureAllowedUrls[];
630 extern const char kHotwordSearchEnabled[];
631 extern const char kHotwordAlwaysOnSearchEnabled[];
632 extern const char kHotwordAlwaysOnNotificationSeen[];
633 extern const char kHotwordAudioLoggingEnabled[];
634 extern const char kHotwordPreviousLanguage[];
636 #if defined(OS_ANDROID)
637 extern const char kProtectedMediaIdentifierEnabled[];
638 #endif
640 #if defined(OS_CHROMEOS)
641 extern const char kDeviceSettingsCache[];
642 extern const char kHardwareKeyboardLayout[];
643 extern const char kCarrierDealPromoShown[];
644 extern const char kShouldAutoEnroll[];
645 extern const char kAutoEnrollmentPowerLimit[];
646 extern const char kDeviceActivityTimes[];
647 extern const char kDeviceLocation[];
648 extern const char kExternalStorageDisabled[];
649 extern const char kOwnerPrimaryMouseButtonRight[];
650 extern const char kOwnerTapToClickEnabled[];
651 extern const char kUptimeLimit[];
652 extern const char kRebootAfterUpdate[];
653 extern const char kDeviceRobotAnyApiRefreshToken[];
654 extern const char kDeviceEnrollmentRequisition[];
655 extern const char kDeviceEnrollmentAutoStart[];
656 extern const char kDeviceEnrollmentCanExit[];
657 extern const char kTimesHIDDialogShown[];
658 extern const char kUsersLRUInputMethod[];
659 extern const char kEchoCheckedOffers[];
660 extern const char kCachedMultiProfileUserBehavior[];
661 extern const char kInitialLocale[];
662 extern const char kOobeComplete[];
663 extern const char kOobeScreenPending[];
664 extern const char kDeviceRegistered[];
665 extern const char kEnrollmentRecoveryRequired[];
666 extern const char kUsedPolicyCertificates[];
667 extern const char kServerBackedDeviceState[];
668 extern const char kCustomizationDefaultWallpaperURL[];
669 extern const char kLogoutStartedLast[];
670 extern const char kConsumerManagementStage[];
671 extern const char kWebviewSigninDisabled[];
672 extern const char kNewLoginUIPopup[];
673 #endif // defined(OS_CHROMEOS)
675 extern const char kClearPluginLSODataEnabled[];
676 extern const char kPepperFlashSettingsEnabled[];
677 extern const char kDiskCacheDir[];
678 extern const char kDiskCacheSize[];
679 extern const char kMediaCacheSize[];
681 extern const char kChromeOsReleaseChannel[];
683 extern const char kPerformanceTracingEnabled[];
685 extern const char kTabStripStackedLayout[];
687 extern const char kRegisteredBackgroundContents[];
689 #if defined(OS_WIN)
690 extern const char kShownAutoLaunchInfobar[];
691 #endif
693 extern const char kAuthSchemes[];
694 extern const char kDisableAuthNegotiateCnameLookup[];
695 extern const char kEnableAuthNegotiatePort[];
696 extern const char kAuthServerWhitelist[];
697 extern const char kAuthNegotiateDelegateWhitelist[];
698 extern const char kGSSAPILibraryName[];
699 extern const char kAllowCrossOriginAuthPrompt[];
701 extern const char kBuiltInDnsClientEnabled[];
703 extern const char kRegisteredProtocolHandlers[];
704 extern const char kIgnoredProtocolHandlers[];
705 extern const char kPolicyRegisteredProtocolHandlers[];
706 extern const char kPolicyIgnoredProtocolHandlers[];
707 extern const char kCustomHandlersEnabled[];
709 #if defined(OS_MACOSX)
710 extern const char kUserRemovedLoginItem[];
711 extern const char kChromeCreatedLoginItem[];
712 extern const char kMigratedLoginItemPref[];
713 extern const char kNotifyWhenAppsKeepChromeAlive[];
714 #endif
716 extern const char kBackgroundModeEnabled[];
717 extern const char kHardwareAccelerationModeEnabled[];
718 extern const char kHardwareAccelerationModePrevious[];
720 extern const char kDevicePolicyRefreshRate[];
722 extern const char kFactoryResetRequested[];
723 extern const char kDebuggingFeaturesRequested[];
725 extern const char kMessageCenterShowedFirstRunBalloon[];
726 extern const char kMessageCenterShowIcon[];
727 extern const char kMessageCenterForcedOnTaskbar[];
729 #if defined(OS_CHROMEOS)
730 extern const char kResolveDeviceTimezoneByGeolocation[];
731 #endif // defined(OS_CHROMEOS)
733 extern const char kAttemptedToEnableAutoupdate[];
735 extern const char kMediaGalleriesUniqueId[];
736 extern const char kMediaGalleriesRememberedGalleries[];
737 extern const char kMediaGalleriesLastScanTime[];
739 #if defined(USE_ASH)
740 extern const char kShelfAlignment[];
741 extern const char kShelfAlignmentLocal[];
742 extern const char kShelfAutoHideBehavior[];
743 extern const char kShelfAutoHideBehaviorLocal[];
744 extern const char kShelfChromeIconIndex[];
745 extern const char kShelfPreferences[];
747 extern const char kLogoutDialogDurationMs[];
748 extern const char kPinnedLauncherApps[];
749 extern const char kShowLogoutButtonInTray[];
750 #endif
752 #if defined(USE_AURA)
753 extern const char kMaxSeparationForGestureTouchesInPixels[];
754 extern const char kSemiLongPressTimeInMs[];
755 extern const char kTabScrubActivationDelayInMs[];
756 extern const char kFlingMaxCancelToDownTimeInMs[];
757 extern const char kFlingMaxTapGapTimeInMs[];
758 extern const char kOverscrollHorizontalThresholdComplete[];
759 extern const char kOverscrollVerticalThresholdComplete[];
760 extern const char kOverscrollMinimumThresholdStart[];
761 extern const char kOverscrollMinimumThresholdStartTouchpad[];
762 extern const char kOverscrollVerticalThresholdStart[];
763 extern const char kOverscrollHorizontalResistThreshold[];
764 extern const char kOverscrollVerticalResistThreshold[];
765 #endif
767 #if defined(OS_WIN)
768 extern const char kNetworkProfileWarningsLeft[];
769 extern const char kNetworkProfileLastWarningTime[];
770 #endif
772 #if defined(OS_CHROMEOS)
773 extern const char kRLZBrand[];
774 extern const char kRLZDisabled[];
775 #endif
777 #if defined(ENABLE_APP_LIST)
778 extern const char kAppListProfile[];
779 extern const char kLastAppListLaunchPing[];
780 extern const char kAppListLaunchCount[];
781 extern const char kLastAppListAppLaunchPing[];
782 extern const char kAppListAppLaunchCount[];
783 extern const char kAppLauncherHasBeenEnabled[];
784 extern const char kAppListEnableMethod[];
785 extern const char kAppListEnableTime[];
786 extern const char kAppListLastLaunchTime[];
787 #if defined(OS_MACOSX)
788 extern const char kAppLauncherShortcutVersion[];
789 #endif
790 extern const char kShowAppLauncherPromo[];
791 extern const char kAppLauncherDriveAppMapping[];
792 extern const char kAppLauncherUninstalledDriveApps[];
793 #endif // defined(ENABLE_APP_LIST)
795 #if defined(OS_WIN)
796 extern const char kAppLaunchForMetroRestart[];
797 extern const char kAppLaunchForMetroRestartProfile[];
798 #endif
799 extern const char kAppShortcutsVersion[];
801 extern const char kModuleConflictBubbleShown[];
803 extern const char kDRMSalt[];
804 extern const char kEnableDRM[];
806 extern const char kWatchdogExtensionActive[];
808 #if defined(OS_ANDROID)
809 extern const char kPartnerBookmarkMappings[];
810 #endif
812 extern const char kQuickCheckEnabled[];
813 extern const char kBrowserGuestModeEnabled[];
814 extern const char kBrowserAddPersonEnabled[];
816 extern const char kEasyUnlockDeviceId[];
817 extern const char kEasyUnlockHardlockState[];
818 extern const char kEasyUnlockLocalStateTpmKeys[];
819 extern const char kEasyUnlockLocalStateUserPrefs[];
821 extern const char kRecoveryComponentNeedsElevation[];
823 extern const char kRegisteredSupervisedUserWhitelists[];
825 #if defined(ENABLE_EXTENSIONS)
826 extern const char kAnimationPolicy[];
827 #endif
829 extern const char kBackgroundTracingLastUpload[];
831 } // namespace prefs
833 #endif // CHROME_COMMON_PREF_NAMES_H_