| 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 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1160 | 1160 |
| 1161 // The last locale the promo was fetched for. | 1161 // The last locale the promo was fetched for. |
| 1162 const char kNTPPromoLocale[] = "ntp.promo_locale"; | 1162 const char kNTPPromoLocale[] = "ntp.promo_locale"; |
| 1163 | 1163 |
| 1164 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. | 1164 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. |
| 1165 const char kNTPPromoBuild[] = "ntp.promo_build"; | 1165 const char kNTPPromoBuild[] = "ntp.promo_build"; |
| 1166 | 1166 |
| 1167 // True if user has explicitly closed the promo line. | 1167 // True if user has explicitly closed the promo line. |
| 1168 const char kNTPPromoClosed[] = "ntp.promo_closed"; | 1168 const char kNTPPromoClosed[] = "ntp.promo_closed"; |
| 1169 | 1169 |
| 1170 // Users are randomly divided into 16 groups in order to slowly roll out | 1170 // Users are randomly divided into 100 groups in order to slowly roll out |
| 1171 // special promos. | 1171 // special promos. |
| 1172 const char kNTPPromoGroup[] = "ntp.promo_group"; | 1172 const char kNTPPromoGroup[] = "ntp.promo_group"; |
| 1173 | 1173 |
| 1174 // Max user group to show this promo to. |
| 1175 const char kNTPPromoGroupMax[] = "ntp.promo_group_max"; |
| 1176 |
| 1174 // Amount of time each promo group should be shown a promo that is being slowly | 1177 // Amount of time each promo group should be shown a promo that is being slowly |
| 1175 // rolled out, in hours. | 1178 // rolled out, in hours. |
| 1176 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; | 1179 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; |
| 1177 | 1180 |
| 1178 // Promo line from server. | 1181 // Promo line from server. |
| 1179 const char kNTPPromoLine[] = "ntp.promo_line"; | 1182 const char kNTPPromoLine[] = "ntp.promo_line"; |
| 1180 | 1183 |
| 1181 // Dates between which the NTP should show a promotional line downloaded | 1184 // Dates between which the NTP should show a promotional line downloaded |
| 1182 // from the promo server. | 1185 // from the promo server. |
| 1183 const char kNTPPromoStart[] = "ntp.promo_start"; | 1186 const char kNTPPromoStart[] = "ntp.promo_start"; |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1444 // Whether user-specified handlers for protocols and content types can be | 1447 // Whether user-specified handlers for protocols and content types can be |
| 1445 // specified. | 1448 // specified. |
| 1446 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1449 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
| 1447 | 1450 |
| 1448 // Integers that specify the policy refresh rate for device- and user-policy in | 1451 // Integers that specify the policy refresh rate for device- and user-policy in |
| 1449 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1452 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
| 1450 // by the cloud policy subsystem. | 1453 // by the cloud policy subsystem. |
| 1451 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1454 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
| 1452 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1455 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
| 1453 } // namespace prefs | 1456 } // namespace prefs |
| OLD | NEW |