| 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 #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 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1510 | 1510 |
| 1511 // Max number of views of this promo. | 1511 // Max number of views of this promo. |
| 1512 const char kNtpPromoViewsMax[] = "ntp.promo_views_max"; | 1512 const char kNtpPromoViewsMax[] = "ntp.promo_views_max"; |
| 1513 | 1513 |
| 1514 // Target platform for this promo. | 1514 // Target platform for this promo. |
| 1515 const char kNtpPromoPlatform[] = "ntp.promo_platform"; | 1515 const char kNtpPromoPlatform[] = "ntp.promo_platform"; |
| 1516 | 1516 |
| 1517 // Promo line from server. | 1517 // Promo line from server. |
| 1518 const char kNtpPromoLine[] = "ntp.promo_line"; | 1518 const char kNtpPromoLine[] = "ntp.promo_line"; |
| 1519 | 1519 |
| 1520 #if defined(OS_ANDROID) | |
| 1521 // Promo line from server (long). | |
| 1522 const char kNtpPromoLineLong[] = "ntp.promo_line_long"; | |
| 1523 // Promo action that needs to be triggered | |
| 1524 const char kNtpPromoActionType[] = "ntp.promo_action_type"; | |
| 1525 // Promo action arguments | |
| 1526 const char kNtpPromoActionArgs[] = "ntp.promo_action_args"; | |
| 1527 #endif // defined(OS_ANDROID) | |
| 1528 | |
| 1529 // Dates between which the NTP should show a promotional line downloaded | 1520 // Dates between which the NTP should show a promotional line downloaded |
| 1530 // from the promo server. | 1521 // from the promo server. |
| 1531 const char kNtpPromoStart[] = "ntp.promo_start"; | 1522 const char kNtpPromoStart[] = "ntp.promo_start"; |
| 1532 const char kNtpPromoEnd[] = "ntp.promo_end"; | 1523 const char kNtpPromoEnd[] = "ntp.promo_end"; |
| 1533 | 1524 |
| 1534 // True if this promo should only be shown to G+ users. | 1525 // True if this promo should only be shown to G+ users. |
| 1535 const char kNtpPromoGplusRequired[] = "ntp.gplus_required"; | 1526 const char kNtpPromoGplusRequired[] = "ntp.gplus_required"; |
| 1536 | 1527 |
| 1537 // Boolean indicating whether the web store is active for the current locale. | 1528 // Boolean indicating whether the web store is active for the current locale. |
| 1538 const char kNtpWebStoreEnabled[] = "ntp.webstore_enabled"; | 1529 const char kNtpWebStoreEnabled[] = "ntp.webstore_enabled"; |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2040 | 2031 |
| 2041 // Counts how many more times the 'profile on a network share' warning should be | 2032 // Counts how many more times the 'profile on a network share' warning should be |
| 2042 // shown to the user before the next silence period. | 2033 // shown to the user before the next silence period. |
| 2043 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 2034 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
| 2044 // Tracks the time of the last shown warning. Used to reset | 2035 // Tracks the time of the last shown warning. Used to reset |
| 2045 // |network_profile.warnings_left| after a silence period. | 2036 // |network_profile.warnings_left| after a silence period. |
| 2046 const char kNetworkProfileLastWarningTime[] = | 2037 const char kNetworkProfileLastWarningTime[] = |
| 2047 "network_profile.last_warning_time"; | 2038 "network_profile.last_warning_time"; |
| 2048 | 2039 |
| 2049 } // namespace prefs | 2040 } // namespace prefs |
| OLD | NEW |