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 #include "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1014 // from the promo server. | 1014 // from the promo server. |
1015 const char kNTPPromoStart[] = "ntp.promo_start"; | 1015 const char kNTPPromoStart[] = "ntp.promo_start"; |
1016 const char kNTPPromoEnd[] = "ntp.promo_end"; | 1016 const char kNTPPromoEnd[] = "ntp.promo_end"; |
1017 | 1017 |
1018 // Promo line from server. | 1018 // Promo line from server. |
1019 const char kNTPPromoLine[] = "ntp.promo_line"; | 1019 const char kNTPPromoLine[] = "ntp.promo_line"; |
1020 | 1020 |
1021 // True if user has explicitly closed the promo line. | 1021 // True if user has explicitly closed the promo line. |
1022 const char kNTPPromoClosed[] = "ntp.promo_closed"; | 1022 const char kNTPPromoClosed[] = "ntp.promo_closed"; |
1023 | 1023 |
1024 // Users are randomly divided into 16 groups in order to slowly roll out | |
1025 // special promos. | |
1026 const char kNTPPromoGroup[] = "ntp.promo_group"; | |
1027 | |
1028 // Amount of time each promo group should be shown a promo that is being slowly | |
1029 // rolled out, in hours. | |
1030 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; | |
1031 | |
1032 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. | |
1033 const char kNTPPromoBuild[] = "ntp.promo_build"; | |
arv (Not doing code reviews)
2011/01/24 18:15:11
Sort these alphabetically?
Miranda Callahan
2011/01/24 18:39:22
Resorted the whole kNTPPromo group alphabetically
| |
1034 | |
1024 const char kDevToolsDisabled[] = "devtools.disabled"; | 1035 const char kDevToolsDisabled[] = "devtools.disabled"; |
1025 | 1036 |
1026 // A boolean specifying whether dev tools window should be opened docked. | 1037 // A boolean specifying whether dev tools window should be opened docked. |
1027 const char kDevToolsOpenDocked[] = "devtools.open_docked"; | 1038 const char kDevToolsOpenDocked[] = "devtools.open_docked"; |
1028 | 1039 |
1029 // Integer location of the split bar in the browser view. | 1040 // Integer location of the split bar in the browser view. |
1030 const char kDevToolsSplitLocation[] = "devtools.split_location"; | 1041 const char kDevToolsSplitLocation[] = "devtools.split_location"; |
1031 | 1042 |
1032 // 64-bit integer serialization of the base::Time when the last sync occurred. | 1043 // 64-bit integer serialization of the base::Time when the last sync occurred. |
1033 const char kSyncLastSyncedTime[] = "sync.last_synced_time"; | 1044 const char kSyncLastSyncedTime[] = "sync.last_synced_time"; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1177 const char kManagedDefaultPluginsSetting[] = | 1188 const char kManagedDefaultPluginsSetting[] = |
1178 "profile.managed_default_content_settings.plugins"; | 1189 "profile.managed_default_content_settings.plugins"; |
1179 const char kManagedDefaultPopupsSetting[] = | 1190 const char kManagedDefaultPopupsSetting[] = |
1180 "profile.managed_default_content_settings.popups"; | 1191 "profile.managed_default_content_settings.popups"; |
1181 | 1192 |
1182 // Dictionary for storing the set of known background pages (keys are extension | 1193 // Dictionary for storing the set of known background pages (keys are extension |
1183 // IDs of background page owners, value is a boolean that is true if the user | 1194 // IDs of background page owners, value is a boolean that is true if the user |
1184 // needs to acknowledge this page. | 1195 // needs to acknowledge this page. |
1185 const char kKnownBackgroundPages[] = "background_pages.known"; | 1196 const char kKnownBackgroundPages[] = "background_pages.known"; |
1186 } // namespace prefs | 1197 } // namespace prefs |
OLD | NEW |