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 kHomePageIsNewTabPage[]; | 19 extern const char kHomePageIsNewTabPage[]; |
20 extern const char kHomePage[]; | 20 extern const char kHomePage[]; |
21 extern const char kHomePageChanged[]; | 21 extern const char kHomePageChanged[]; |
22 extern const char kIsGooglePlusUser[]; | 22 extern const char kIsGooglePlusUser[]; |
23 extern const char kSessionExitedCleanly[]; | 23 extern const char kSessionExitedCleanly[]; |
24 extern const char kRestoreOnStartup[]; | 24 extern const char kRestoreOnStartup[]; |
25 extern const char kURLsToRestoreOnStartup[]; | 25 extern const char kURLsToRestoreOnStartup[]; |
26 extern const char kRestoreOnStartupMigrated[]; | 26 extern const char kRestoreOnStartupMigrated[]; |
27 extern const char kDisableScreenshots[]; | 27 extern const char kDisableScreenshots[]; |
| 28 extern const char kAppsRunningAtShutdown[]; |
28 | 29 |
29 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 30 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
30 // and user's profile. Global property determines locale of login screen, | 31 // and user's profile. Global property determines locale of login screen, |
31 // while user's profile determines his personal locale preference. | 32 // while user's profile determines his personal locale preference. |
32 extern const char kApplicationLocale[]; | 33 extern const char kApplicationLocale[]; |
33 #if defined(OS_CHROMEOS) | 34 #if defined(OS_CHROMEOS) |
34 extern const char kApplicationLocaleBackup[]; | 35 extern const char kApplicationLocaleBackup[]; |
35 extern const char kApplicationLocaleAccepted[]; | 36 extern const char kApplicationLocaleAccepted[]; |
36 extern const char kOwnerLocale[]; | 37 extern const char kOwnerLocale[]; |
37 #endif | 38 #endif |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 #endif | 734 #endif |
734 | 735 |
735 extern const char kInManagedMode[]; | 736 extern const char kInManagedMode[]; |
736 | 737 |
737 extern const char kNetworkProfileWarningsLeft[]; | 738 extern const char kNetworkProfileWarningsLeft[]; |
738 extern const char kNetworkProfileLastWarningTime[]; | 739 extern const char kNetworkProfileLastWarningTime[]; |
739 | 740 |
740 } // namespace prefs | 741 } // namespace prefs |
741 | 742 |
742 #endif // CHROME_COMMON_PREF_NAMES_H_ | 743 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |