| 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 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 | 8 |
| 9 namespace prefs { | 9 namespace prefs { |
| 10 | 10 |
| (...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1270 | 1270 |
| 1271 // The last locale the promo was fetched for. | 1271 // The last locale the promo was fetched for. |
| 1272 const char kNTPPromoLocale[] = "ntp.promo_locale"; | 1272 const char kNTPPromoLocale[] = "ntp.promo_locale"; |
| 1273 | 1273 |
| 1274 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. | 1274 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. |
| 1275 const char kNTPPromoBuild[] = "ntp.promo_build"; | 1275 const char kNTPPromoBuild[] = "ntp.promo_build"; |
| 1276 | 1276 |
| 1277 // True if user has explicitly closed the promo line. | 1277 // True if user has explicitly closed the promo line. |
| 1278 const char kNTPPromoClosed[] = "ntp.promo_closed"; | 1278 const char kNTPPromoClosed[] = "ntp.promo_closed"; |
| 1279 | 1279 |
| 1280 // Users are randomly divided into 16 groups in order to slowly roll out | 1280 // Users are randomly divided into 100 groups in order to slowly roll out |
| 1281 // special promos. | 1281 // special promos. |
| 1282 const char kNTPPromoGroup[] = "ntp.promo_group"; | 1282 const char kNTPPromoGroup[] = "ntp.promo_group"; |
| 1283 | 1283 |
| 1284 // Amount of time each promo group should be shown a promo that is being slowly | 1284 // Amount of time each promo group should be shown a promo that is being slowly |
| 1285 // rolled out, in hours. | 1285 // rolled out, in hours. |
| 1286 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; | 1286 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; |
| 1287 | 1287 |
| 1288 // Number of groups to roll out this promo to. |
| 1289 const char kNTPPromoGroupMax[] = "ntp.promo_group_max"; |
| 1290 |
| 1288 // Promo line from server. | 1291 // Promo line from server. |
| 1289 const char kNTPPromoLine[] = "ntp.promo_line"; | 1292 const char kNTPPromoLine[] = "ntp.promo_line"; |
| 1290 | 1293 |
| 1291 // Dates between which the NTP should show a promotional line downloaded | 1294 // Dates between which the NTP should show a promotional line downloaded |
| 1292 // from the promo server. | 1295 // from the promo server. |
| 1293 const char kNTPPromoStart[] = "ntp.promo_start"; | 1296 const char kNTPPromoStart[] = "ntp.promo_start"; |
| 1294 const char kNTPPromoEnd[] = "ntp.promo_end"; | 1297 const char kNTPPromoEnd[] = "ntp.promo_end"; |
| 1295 | 1298 |
| 1296 // Boolean indicating whether the web store is active for the current locale. | 1299 // Boolean indicating whether the web store is active for the current locale. |
| 1297 const char kNTPWebStoreEnabled[] = "ntp.webstore_enabled"; | 1300 const char kNTPWebStoreEnabled[] = "ntp.webstore_enabled"; |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1586 // specified. | 1589 // specified. |
| 1587 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1590 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
| 1588 | 1591 |
| 1589 // Integers that specify the policy refresh rate for device- and user-policy in | 1592 // Integers that specify the policy refresh rate for device- and user-policy in |
| 1590 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1593 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
| 1591 // by the cloud policy subsystem. | 1594 // by the cloud policy subsystem. |
| 1592 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1595 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
| 1593 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1596 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
| 1594 | 1597 |
| 1595 } // namespace prefs | 1598 } // namespace prefs |
| OLD | NEW |