OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Constants for the names of various preferences, for easier changing. | 5 // Constants for the names of various preferences, for easier changing. |
6 | 6 |
7 #ifndef CHROME_COMMON_PREF_NAMES_H_ | 7 #ifndef CHROME_COMMON_PREF_NAMES_H_ |
8 #define CHROME_COMMON_PREF_NAMES_H_ | 8 #define CHROME_COMMON_PREF_NAMES_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 | 13 |
14 #include "components/autofill/core/common/autofill_pref_names.h" | 14 #include "components/autofill/core/common/autofill_pref_names.h" |
15 #include "components/bookmarks/common/bookmark_pref_names.h" | 15 #include "components/bookmarks/common/bookmark_pref_names.h" |
16 #include "components/data_reduction_proxy/common/data_reduction_proxy_pref_names
.h" | 16 #include "components/data_reduction_proxy/common/data_reduction_proxy_pref_names
.h" |
17 #include "components/metrics/metrics_pref_names.h" | 17 #include "components/metrics/metrics_pref_names.h" |
18 #include "components/signin/core/common/signin_pref_names.h" | 18 #include "components/signin/core/common/signin_pref_names.h" |
19 | 19 |
20 namespace prefs { | 20 namespace prefs { |
21 | 21 |
22 // Profile prefs. Please add Local State prefs below instead. | 22 // Profile prefs. Please add Local State prefs below instead. |
23 extern const char kDefaultApps[]; | 23 extern const char kDefaultApps[]; |
24 extern const char kDefaultAppsInstalled[]; | 24 extern const char kDefaultAppsInstalled[]; |
25 extern const char kDisableScreenshots[]; | 25 extern const char kDisableScreenshots[]; |
26 extern const char kHomePageIsNewTabPage[]; | 26 extern const char kHomePageIsNewTabPage[]; |
27 extern const char kHomePage[]; | 27 extern const char kHomePage[]; |
28 extern const char kManagedModeManualHosts[]; | 28 extern const char kSupervisedUserManualHosts[]; |
29 extern const char kManagedModeManualURLs[]; | 29 extern const char kSupervisedUserManualURLs[]; |
30 extern const char kManagedUserCustodianEmail[]; | 30 extern const char kSupervisedUserCustodianEmail[]; |
31 extern const char kManagedUserCustodianName[]; | 31 extern const char kSupervisedUserCustodianName[]; |
32 extern const char kManagedUserSharedSettings[]; | 32 extern const char kSupervisedUserSharedSettings[]; |
33 extern const char kProfileIconVersion[]; | 33 extern const char kProfileIconVersion[]; |
34 extern const char kRestoreOnStartup[]; | 34 extern const char kRestoreOnStartup[]; |
35 extern const char kRestoreOnStartupMigrated[]; | 35 extern const char kRestoreOnStartupMigrated[]; |
36 extern const char kSessionExitedCleanly[]; | 36 extern const char kSessionExitedCleanly[]; |
37 extern const char kSessionExitType[]; | 37 extern const char kSessionExitType[]; |
38 extern const char kURLsToRestoreOnStartup[]; | 38 extern const char kURLsToRestoreOnStartup[]; |
39 extern const char kURLsToRestoreOnStartupOld[]; | 39 extern const char kURLsToRestoreOnStartupOld[]; |
40 extern const char kRestoreStartupURLsMigrationTime[]; | 40 extern const char kRestoreStartupURLsMigrationTime[]; |
41 extern const char kForceEphemeralProfiles[]; | 41 extern const char kForceEphemeralProfiles[]; |
42 | 42 |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 extern const char kEnableDoNotTrack[]; | 361 extern const char kEnableDoNotTrack[]; |
362 | 362 |
363 extern const char kImportBookmarks[]; | 363 extern const char kImportBookmarks[]; |
364 extern const char kImportHistory[]; | 364 extern const char kImportHistory[]; |
365 extern const char kImportHomepage[]; | 365 extern const char kImportHomepage[]; |
366 extern const char kImportSearchEngine[]; | 366 extern const char kImportSearchEngine[]; |
367 extern const char kImportSavedPasswords[]; | 367 extern const char kImportSavedPasswords[]; |
368 | 368 |
369 extern const char kProfileAvatarIndex[]; | 369 extern const char kProfileAvatarIndex[]; |
370 extern const char kProfileName[]; | 370 extern const char kProfileName[]; |
371 extern const char kProfileIsManaged[]; | 371 extern const char kProfileIsSupervised[]; |
372 extern const char kManagedUserId[]; | 372 extern const char kSupervisedUserId[]; |
373 | 373 |
374 extern const char kProfileGAIAInfoUpdateTime[]; | 374 extern const char kProfileGAIAInfoUpdateTime[]; |
375 extern const char kProfileGAIAInfoPictureURL[]; | 375 extern const char kProfileGAIAInfoPictureURL[]; |
376 | 376 |
377 extern const char kProfileAvatarTutorialShown[]; | 377 extern const char kProfileAvatarTutorialShown[]; |
378 extern const char kProfileUserManagerTutorialShown[]; | 378 extern const char kProfileUserManagerTutorialShown[]; |
379 | 379 |
380 extern const char kInvertNotificationShown[]; | 380 extern const char kInvertNotificationShown[]; |
381 | 381 |
382 extern const char kPrintingEnabled[]; | 382 extern const char kPrintingEnabled[]; |
383 extern const char kPrintPreviewDisabled[]; | 383 extern const char kPrintPreviewDisabled[]; |
384 | 384 |
385 extern const char kDefaultManagedModeFilteringBehavior[]; | 385 extern const char kDefaultSupervisedUserFilteringBehavior[]; |
386 | 386 |
387 extern const char kManagedUserCreationAllowed[]; | 387 extern const char kSupervisedUserCreationAllowed[]; |
388 extern const char kManagedUsers[]; | 388 extern const char kSupervisedUsers[]; |
389 | 389 |
390 extern const char kMessageCenterDisabledExtensionIds[]; | 390 extern const char kMessageCenterDisabledExtensionIds[]; |
391 extern const char kMessageCenterDisabledSystemComponentIds[]; | 391 extern const char kMessageCenterDisabledSystemComponentIds[]; |
392 extern const char kMessageCenterEnabledSyncNotifierIds[]; | 392 extern const char kMessageCenterEnabledSyncNotifierIds[]; |
393 extern const char kEnabledSyncedNotificationSendingServices[]; | 393 extern const char kEnabledSyncedNotificationSendingServices[]; |
394 extern const char kInitializedSyncedNotificationSendingServices[]; | 394 extern const char kInitializedSyncedNotificationSendingServices[]; |
395 extern const char kSyncedNotificationFirstRun[]; | 395 extern const char kSyncedNotificationFirstRun[]; |
396 extern const char kWelcomeNotificationDismissed[]; | 396 extern const char kWelcomeNotificationDismissed[]; |
397 extern const char kWelcomeNotificationDismissedLocal[]; | 397 extern const char kWelcomeNotificationDismissedLocal[]; |
398 extern const char kWelcomeNotificationPreviouslyPoppedUp[]; | 398 extern const char kWelcomeNotificationPreviouslyPoppedUp[]; |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 | 830 |
831 #if defined(OS_ANDROID) | 831 #if defined(OS_ANDROID) |
832 extern const char kPartnerBookmarkMappings[]; | 832 extern const char kPartnerBookmarkMappings[]; |
833 #endif | 833 #endif |
834 | 834 |
835 extern const char kQuickCheckEnabled[]; | 835 extern const char kQuickCheckEnabled[]; |
836 | 836 |
837 } // namespace prefs | 837 } // namespace prefs |
838 | 838 |
839 #endif // CHROME_COMMON_PREF_NAMES_H_ | 839 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |