| 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 <stddef.h> | 11 #include <stddef.h> |
| 12 | 12 |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 | 14 |
| 15 namespace prefs { | 15 namespace prefs { |
| 16 | 16 |
| 17 // Profile prefs. Please add Local State prefs below instead. | 17 // Profile prefs. Please add Local State prefs below instead. |
| 18 extern const char kAppsPromoCounter[]; | 18 extern const char kAppsPromoCounter[]; |
| 19 extern const char kDefaultAppsInstalled[]; | 19 extern const char kDefaultAppsInstalled[]; |
| 20 extern const char kHomePageIsNewTabPage[]; | 20 extern const char kHomePageIsNewTabPage[]; |
| 21 extern const char kHomePage[]; | 21 extern const char kHomePage[]; |
| 22 extern const char kHomePageChanged[]; |
| 22 extern const char kSessionExitedCleanly[]; | 23 extern const char kSessionExitedCleanly[]; |
| 23 extern const char kRestoreOnStartup[]; | 24 extern const char kRestoreOnStartup[]; |
| 24 extern const char kURLsToRestoreOnStartup[]; | 25 extern const char kURLsToRestoreOnStartup[]; |
| 25 extern const char kSyncPromoExpanded[]; | 26 extern const char kSyncPromoExpanded[]; |
| 26 | 27 |
| 27 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 28 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
| 28 // and user's profile. Global property determines locale of login screen, | 29 // and user's profile. Global property determines locale of login screen, |
| 29 // while user's profile determines his personal locale preference. | 30 // while user's profile determines his personal locale preference. |
| 30 extern const char kApplicationLocale[]; | 31 extern const char kApplicationLocale[]; |
| 31 #if defined(OS_CHROMEOS) | 32 #if defined(OS_CHROMEOS) |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 | 585 |
| 585 extern const char kUserCreatedLoginItem[]; | 586 extern const char kUserCreatedLoginItem[]; |
| 586 extern const char kBackgroundModeEnabled[]; | 587 extern const char kBackgroundModeEnabled[]; |
| 587 | 588 |
| 588 extern const char kDevicePolicyRefreshRate[]; | 589 extern const char kDevicePolicyRefreshRate[]; |
| 589 extern const char kUserPolicyRefreshRate[]; | 590 extern const char kUserPolicyRefreshRate[]; |
| 590 | 591 |
| 591 } // namespace prefs | 592 } // namespace prefs |
| 592 | 593 |
| 593 #endif // CHROME_COMMON_PREF_NAMES_H_ | 594 #endif // CHROME_COMMON_PREF_NAMES_H_ |
| OLD | NEW |