Chromium Code Reviews| 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 #include "chrome/common/features.h" | 13 #include "chrome/common/features.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 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) | 18 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) |
| 19 extern const char kArcApps[]; | 19 extern const char kArcApps[]; |
| 20 extern const char kArcBackupRestoreEnabled[]; | 20 extern const char kArcBackupRestoreEnabled[]; |
| 21 extern const char kArcEnabled[]; | 21 extern const char kArcEnabled[]; |
| 22 extern const char kArcPackages[]; | 22 extern const char kArcPackages[]; |
| 23 extern const char kArcSetNotificationsEnabledDeferred[]; | 23 extern const char kArcSetNotificationsEnabledDeferred[]; |
| 24 extern const char kArcSignedIn[]; | 24 extern const char kArcSignedIn[]; |
| 25 extern const char kArcLocationServiceEnabled[]; | |
|
xiyuan
2016/07/25 18:03:40
nit: keep the section alpha-sorted ?
khmel
2016/07/25 22:48:48
Done.
| |
| 25 #endif | 26 #endif |
| 26 extern const char kChildAccountStatusKnown[]; | 27 extern const char kChildAccountStatusKnown[]; |
| 27 extern const char kDefaultApps[]; | 28 extern const char kDefaultApps[]; |
| 28 extern const char kDisableScreenshots[]; | 29 extern const char kDisableScreenshots[]; |
| 29 extern const char kForceEphemeralProfiles[]; | 30 extern const char kForceEphemeralProfiles[]; |
| 30 extern const char kHomePageIsNewTabPage[]; | 31 extern const char kHomePageIsNewTabPage[]; |
| 31 extern const char kHomePage[]; | 32 extern const char kHomePage[]; |
| 32 #if defined(OS_WIN) | 33 #if defined(OS_WIN) |
| 33 extern const char kLastProfileResetTimestamp[]; | 34 extern const char kLastProfileResetTimestamp[]; |
| 34 #endif | 35 #endif |
| (...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 808 #endif // defined(GOOGLE_CHROME_BUILD) | 809 #endif // defined(GOOGLE_CHROME_BUILD) |
| 809 extern const char kMediaRouterFirstRunFlowAcknowledged[]; | 810 extern const char kMediaRouterFirstRunFlowAcknowledged[]; |
| 810 #endif | 811 #endif |
| 811 | 812 |
| 812 extern const char kOriginTrialPublicKey[]; | 813 extern const char kOriginTrialPublicKey[]; |
| 813 extern const char kOriginTrialDisabledFeatures[]; | 814 extern const char kOriginTrialDisabledFeatures[]; |
| 814 | 815 |
| 815 } // namespace prefs | 816 } // namespace prefs |
| 816 | 817 |
| 817 #endif // CHROME_COMMON_PREF_NAMES_H_ | 818 #endif // CHROME_COMMON_PREF_NAMES_H_ |
| OLD | NEW |