Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Side by Side Diff: chrome/common/pref_names.h

Issue 2714853002: Remove kDistroDict from Preferences. (Closed)
Patch Set: Format and hide constant behind flag too Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "extensions/features/features.h" 14 #include "extensions/features/features.h"
15 #include "media/media_features.h" 15 #include "media/media_features.h"
16 #include "ppapi/features/features.h" 16 #include "ppapi/features/features.h"
17 #include "rlz/features/features.h"
17 18
18 namespace prefs { 19 namespace prefs {
19 20
20 // Profile prefs. Please add Local State prefs below instead. 21 // Profile prefs. Please add Local State prefs below instead.
21 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) 22 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST)
22 extern const char kArcApps[]; 23 extern const char kArcApps[];
23 extern const char kArcBackupRestoreEnabled[]; 24 extern const char kArcBackupRestoreEnabled[];
24 extern const char kArcDataRemoveRequested[]; 25 extern const char kArcDataRemoveRequested[];
25 extern const char kArcEnabled[]; 26 extern const char kArcEnabled[];
26 extern const char kArcPolicyCompliant[]; 27 extern const char kArcPolicyCompliant[];
(...skipping 28 matching lines...) Expand all
55 extern const char kSupervisedUserManualURLs[]; 56 extern const char kSupervisedUserManualURLs[];
56 extern const char kSupervisedUserSafeSites[]; 57 extern const char kSupervisedUserSafeSites[];
57 extern const char kSupervisedUserSecondCustodianEmail[]; 58 extern const char kSupervisedUserSecondCustodianEmail[];
58 extern const char kSupervisedUserSecondCustodianName[]; 59 extern const char kSupervisedUserSecondCustodianName[];
59 extern const char kSupervisedUserSecondCustodianProfileImageURL[]; 60 extern const char kSupervisedUserSecondCustodianProfileImageURL[];
60 extern const char kSupervisedUserSecondCustodianProfileURL[]; 61 extern const char kSupervisedUserSecondCustodianProfileURL[];
61 extern const char kSupervisedUserSharedSettings[]; 62 extern const char kSupervisedUserSharedSettings[];
62 extern const char kSupervisedUserWhitelists[]; 63 extern const char kSupervisedUserWhitelists[];
63 extern const char kURLsToRestoreOnStartup[]; 64 extern const char kURLsToRestoreOnStartup[];
64 65
66 #if BUILDFLAG(ENABLE_RLZ)
67 // Integer. RLZ ping delay in seconds.
grt (UTC plus 2) 2017/02/24 07:42:21 nit: remove comment for consistency with surroundi
gab 2017/02/28 19:54:45 Done.
68 extern const char kRlzPingDelay[];
69 #endif // BUILDFLAG(ENABLE_RLZ)
70
65 // For OS_CHROMEOS we maintain the kApplicationLocale property in both local 71 // For OS_CHROMEOS we maintain the kApplicationLocale property in both local
66 // state and the user's profile. The global property determines the locale of 72 // state and the user's profile. The global property determines the locale of
67 // the login screen, while the user's profile determines their personal locale 73 // the login screen, while the user's profile determines their personal locale
68 // preference. 74 // preference.
69 extern const char kApplicationLocale[]; 75 extern const char kApplicationLocale[];
70 #if defined(OS_CHROMEOS) 76 #if defined(OS_CHROMEOS)
71 extern const char kApplicationLocaleBackup[]; 77 extern const char kApplicationLocaleBackup[];
72 extern const char kApplicationLocaleAccepted[]; 78 extern const char kApplicationLocaleAccepted[];
73 extern const char kOwnerLocale[]; 79 extern const char kOwnerLocale[];
74 #endif 80 #endif
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 extern const char kBookmarksBubbleIOSPromoDismissed[]; 901 extern const char kBookmarksBubbleIOSPromoDismissed[];
896 extern const char kNumberBookmarksFootNoteIOSPromoShown[]; 902 extern const char kNumberBookmarksFootNoteIOSPromoShown[];
897 extern const char kBookmarksFootNoteIOSPromoDismissed[]; 903 extern const char kBookmarksFootNoteIOSPromoDismissed[];
898 extern const char kNumberHistoryPageIOSPromoShown[]; 904 extern const char kNumberHistoryPageIOSPromoShown[];
899 extern const char kHistoryPageIOSPromoDismissed[]; 905 extern const char kHistoryPageIOSPromoDismissed[];
900 #endif 906 #endif
901 907
902 } // namespace prefs 908 } // namespace prefs
903 909
904 #endif // CHROME_COMMON_PREF_NAMES_H_ 910 #endif // CHROME_COMMON_PREF_NAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698