| 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 | 15 |
| 16 namespace prefs { | 16 namespace prefs { |
| 17 | 17 |
| 18 // Profile prefs. Please add Local State prefs below instead. | 18 // Profile prefs. Please add Local State prefs below instead. |
| 19 extern const char kDefaultApps[]; | 19 extern const char kDefaultApps[]; |
| 20 extern const char kDefaultAppsInstalled[]; | 20 extern const char kDefaultAppsInstalled[]; |
| 21 extern const char kDisableScreenshots[]; | 21 extern const char kDisableScreenshots[]; |
| 22 extern const char kHomePageIsNewTabPage[]; | 22 extern const char kHomePageIsNewTabPage[]; |
| 23 extern const char kHomePage[]; | 23 extern const char kHomePage[]; |
| 24 extern const char kManagedModeManualHosts[]; | 24 extern const char kManagedModeManualHosts[]; |
| 25 extern const char kManagedModeManualURLs[]; | 25 extern const char kManagedModeManualURLs[]; |
| 26 extern const char kManagedUserCustodianEmail[]; | 26 extern const char kManagedUserCustodianEmail[]; |
| 27 extern const char kManagedUserCustodianName[]; | 27 extern const char kManagedUserCustodianName[]; |
| 28 extern const char kProfileIconVersion[]; |
| 29 extern const char kRestoreOnStartup[]; |
| 30 extern const char kRestoreOnStartupMigrated[]; |
| 28 extern const char kSessionExitedCleanly[]; | 31 extern const char kSessionExitedCleanly[]; |
| 29 extern const char kSessionExitType[]; | 32 extern const char kSessionExitType[]; |
| 30 extern const char kRestoreOnStartup[]; | |
| 31 extern const char kURLsToRestoreOnStartup[]; | 33 extern const char kURLsToRestoreOnStartup[]; |
| 32 extern const char kRestoreOnStartupMigrated[]; | |
| 33 | 34 |
| 34 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 35 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
| 35 // and user's profile. Global property determines locale of login screen, | 36 // and user's profile. Global property determines locale of login screen, |
| 36 // while user's profile determines his personal locale preference. | 37 // while user's profile determines his personal locale preference. |
| 37 extern const char kApplicationLocale[]; | 38 extern const char kApplicationLocale[]; |
| 38 #if defined(OS_CHROMEOS) | 39 #if defined(OS_CHROMEOS) |
| 39 extern const char kApplicationLocaleBackup[]; | 40 extern const char kApplicationLocaleBackup[]; |
| 40 extern const char kApplicationLocaleAccepted[]; | 41 extern const char kApplicationLocaleAccepted[]; |
| 41 extern const char kOwnerLocale[]; | 42 extern const char kOwnerLocale[]; |
| 42 #endif | 43 #endif |
| (...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 extern const char kAppListAppLaunchCount[]; | 933 extern const char kAppListAppLaunchCount[]; |
| 933 | 934 |
| 934 extern const char kModuleConflictBubbleShown[]; | 935 extern const char kModuleConflictBubbleShown[]; |
| 935 | 936 |
| 936 extern const char kDRMSalt[]; | 937 extern const char kDRMSalt[]; |
| 937 extern const char kEnableDRM[]; | 938 extern const char kEnableDRM[]; |
| 938 | 939 |
| 939 } // namespace prefs | 940 } // namespace prefs |
| 940 | 941 |
| 941 #endif // CHROME_COMMON_PREF_NAMES_H_ | 942 #endif // CHROME_COMMON_PREF_NAMES_H_ |
| OLD | NEW |