OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
10 | 10 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 | 12 |
13 namespace prefs { | 13 namespace prefs { |
14 | 14 |
15 // Profile prefs. Please add Local State prefs below instead. | 15 // Profile prefs. Please add Local State prefs below instead. |
16 extern const char kAppsPromoCounter[]; | 16 extern const char kAppsPromoCounter[]; |
17 extern const char kDefaultAppsInstalled[]; | 17 extern const char kDefaultAppsInstalled[]; |
18 extern const char kHomePageIsNewTabPage[]; | 18 extern const char kHomePageIsNewTabPage[]; |
19 extern const char kHomePage[]; | 19 extern const char kHomePage[]; |
20 extern const char kSessionExitedCleanly[]; | 20 extern const char kSessionExitedCleanly[]; |
21 extern const char kRestoreOnStartup[]; | 21 extern const char kRestoreOnStartup[]; |
22 extern const char kURLsToRestoreOnStartup[]; | 22 extern const char kURLsToRestoreOnStartup[]; |
| 23 extern const char kSyncPromoExpanded[]; |
23 | 24 |
24 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 25 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
25 // and user's profile. Global property determines locale of login screen, | 26 // and user's profile. Global property determines locale of login screen, |
26 // while user's profile determines his personal locale preference. | 27 // while user's profile determines his personal locale preference. |
27 extern const char kApplicationLocale[]; | 28 extern const char kApplicationLocale[]; |
28 #if defined(OS_CHROMEOS) | 29 #if defined(OS_CHROMEOS) |
29 extern const char kApplicationLocaleBackup[]; | 30 extern const char kApplicationLocaleBackup[]; |
30 extern const char kApplicationLocaleAccepted[]; | 31 extern const char kApplicationLocaleAccepted[]; |
31 extern const char kOwnerLocale[]; | 32 extern const char kOwnerLocale[]; |
32 #endif | 33 #endif |
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 extern const char kCustomHandlersEnabled[]; | 525 extern const char kCustomHandlersEnabled[]; |
525 | 526 |
526 extern const char kUserCreatedLoginItem[]; | 527 extern const char kUserCreatedLoginItem[]; |
527 extern const char kBackgroundModeEnabled[]; | 528 extern const char kBackgroundModeEnabled[]; |
528 | 529 |
529 extern const char kDevicePolicyRefreshRate[]; | 530 extern const char kDevicePolicyRefreshRate[]; |
530 extern const char kUserPolicyRefreshRate[]; | 531 extern const char kUserPolicyRefreshRate[]; |
531 } // namespace prefs | 532 } // namespace prefs |
532 | 533 |
533 #endif // CHROME_COMMON_PREF_NAMES_H_ | 534 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |