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 namespace prefs { | 14 namespace prefs { |
15 | 15 |
16 // Profile prefs. Please add Local State prefs below instead. | 16 // Profile prefs. Please add Local State prefs below instead. |
17 extern const char kDefaultApps[]; | 17 extern const char kDefaultApps[]; |
18 extern const char kDefaultAppsInstalled[]; | 18 extern const char kDefaultAppsInstalled[]; |
| 19 extern const char kDisableScreenshots[]; |
19 extern const char kHomePageIsNewTabPage[]; | 20 extern const char kHomePageIsNewTabPage[]; |
20 extern const char kHomePage[]; | 21 extern const char kHomePage[]; |
21 extern const char kHomePageChanged[]; | 22 extern const char kHomePageChanged[]; |
| 23 extern const char kManagedModeLocalPassphrase[]; |
| 24 extern const char kManagedModeLocalSalt[]; |
22 extern const char kManagedModeManualHosts[]; | 25 extern const char kManagedModeManualHosts[]; |
23 extern const char kManagedModeManualURLs[]; | 26 extern const char kManagedModeManualURLs[]; |
24 extern const char kSessionExitedCleanly[]; | 27 extern const char kSessionExitedCleanly[]; |
25 extern const char kSessionExitType[]; | 28 extern const char kSessionExitType[]; |
26 extern const char kRestoreOnStartup[]; | 29 extern const char kRestoreOnStartup[]; |
27 extern const char kURLsToRestoreOnStartup[]; | 30 extern const char kURLsToRestoreOnStartup[]; |
28 extern const char kRestoreOnStartupMigrated[]; | 31 extern const char kRestoreOnStartupMigrated[]; |
29 extern const char kDisableScreenshots[]; | |
30 | 32 |
31 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 33 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
32 // and user's profile. Global property determines locale of login screen, | 34 // and user's profile. Global property determines locale of login screen, |
33 // while user's profile determines his personal locale preference. | 35 // while user's profile determines his personal locale preference. |
34 extern const char kApplicationLocale[]; | 36 extern const char kApplicationLocale[]; |
35 #if defined(OS_CHROMEOS) | 37 #if defined(OS_CHROMEOS) |
36 extern const char kApplicationLocaleBackup[]; | 38 extern const char kApplicationLocaleBackup[]; |
37 extern const char kApplicationLocaleAccepted[]; | 39 extern const char kApplicationLocaleAccepted[]; |
38 extern const char kOwnerLocale[]; | 40 extern const char kOwnerLocale[]; |
39 #endif | 41 #endif |
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 extern const char kRLZDisabled[]; | 843 extern const char kRLZDisabled[]; |
842 #endif | 844 #endif |
843 | 845 |
844 #if defined(ENABLE_APP_LIST) | 846 #if defined(ENABLE_APP_LIST) |
845 extern const char kAppListProfile[]; | 847 extern const char kAppListProfile[]; |
846 #endif | 848 #endif |
847 | 849 |
848 } // namespace prefs | 850 } // namespace prefs |
849 | 851 |
850 #endif // CHROME_COMMON_PREF_NAMES_H_ | 852 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |