| 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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1081 const char kNTPShownSections[] = "ntp.shown_sections"; | 1081 const char kNTPShownSections[] = "ntp.shown_sections"; |
| 1082 | 1082 |
| 1083 // This pref is used for migrating the prefs for the NTP | 1083 // This pref is used for migrating the prefs for the NTP |
| 1084 const char kNTPPrefVersion[] = "ntp.pref_version"; | 1084 const char kNTPPrefVersion[] = "ntp.pref_version"; |
| 1085 | 1085 |
| 1086 // Dates between which the NTP should show a custom logo rather than the | 1086 // Dates between which the NTP should show a custom logo rather than the |
| 1087 // standard one. | 1087 // standard one. |
| 1088 const char kNTPCustomLogoStart[] = "ntp.alt_logo_start"; | 1088 const char kNTPCustomLogoStart[] = "ntp.alt_logo_start"; |
| 1089 const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end"; | 1089 const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end"; |
| 1090 | 1090 |
| 1091 // The promo resource service version number. |
| 1092 const char kNTPPromoVersion[] = "ntp.promo_version"; |
| 1093 |
| 1094 // The last locale the promo was fetched for. |
| 1095 const char kNTPPromoLocale[] = "ntp.promo_locale"; |
| 1096 |
| 1091 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. | 1097 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. |
| 1092 const char kNTPPromoBuild[] = "ntp.promo_build"; | 1098 const char kNTPPromoBuild[] = "ntp.promo_build"; |
| 1093 | 1099 |
| 1094 // True if user has explicitly closed the promo line. | 1100 // True if user has explicitly closed the promo line. |
| 1095 const char kNTPPromoClosed[] = "ntp.promo_closed"; | 1101 const char kNTPPromoClosed[] = "ntp.promo_closed"; |
| 1096 | 1102 |
| 1097 // Users are randomly divided into 16 groups in order to slowly roll out | 1103 // Users are randomly divided into 16 groups in order to slowly roll out |
| 1098 // special promos. | 1104 // special promos. |
| 1099 const char kNTPPromoGroup[] = "ntp.promo_group"; | 1105 const char kNTPPromoGroup[] = "ntp.promo_group"; |
| 1100 | 1106 |
| 1101 // Amount of time each promo group should be shown a promo that is being slowly | 1107 // Amount of time each promo group should be shown a promo that is being slowly |
| 1102 // rolled out, in hours. | 1108 // rolled out, in hours. |
| 1103 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; | 1109 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; |
| 1104 | 1110 |
| 1105 // Promo line from server. | 1111 // Promo line from server. |
| 1106 const char kNTPPromoLine[] = "ntp.promo_line"; | 1112 const char kNTPPromoLine[] = "ntp.promo_line"; |
| 1107 | 1113 |
| 1108 // Dates between which the NTP should show a promotional line downloaded | 1114 // Dates between which the NTP should show a promotional line downloaded |
| 1109 // from the promo server. | 1115 // from the promo server. |
| 1110 const char kNTPPromoStart[] = "ntp.promo_start"; | 1116 const char kNTPPromoStart[] = "ntp.promo_start"; |
| 1111 const char kNTPPromoEnd[] = "ntp.promo_end"; | 1117 const char kNTPPromoEnd[] = "ntp.promo_end"; |
| 1112 | 1118 |
| 1119 // The id of the last web store promo actually displayed on the NTP. |
| 1120 const char kNTPWebStorePromoLastId[] = "ntp.webstore_last_promo_id"; |
| 1121 |
| 1122 // The id of the current web store promo. |
| 1123 const char kNTPWebStorePromoId[] = "ntp.webstore.promo_id"; |
| 1124 |
| 1125 // The header line for the NTP web store promo. |
| 1126 const char kNTPWebStorePromoHeader[] = "ntp.webstore.promo_header"; |
| 1127 |
| 1128 // The button text for the NTP web store promo. |
| 1129 const char kNTPWebStorePromoButton[] = "ntp.webstore.promo_button"; |
| 1130 |
| 1131 // The button link for the NTP web store promo. |
| 1132 const char kNTPWebStorePromoLink[] = "ntp.webstore.promo_link"; |
| 1133 |
| 1134 // The "hide this" link text for the NTP web store promo. |
| 1135 const char kNTPWebStorePromoExpire[] = "ntp.webstore.promo_expire"; |
| 1136 |
| 1113 // The most up-to-date GPU blacklist downloaded from the web, which replaces | 1137 // The most up-to-date GPU blacklist downloaded from the web, which replaces |
| 1114 // the one that's installed with chrome. | 1138 // the one that's installed with chrome. |
| 1115 const char kGpuBlacklist[] = "gpu_blacklist"; | 1139 const char kGpuBlacklist[] = "gpu_blacklist"; |
| 1116 | 1140 |
| 1117 // Last time of update of gpu_blacklist. | 1141 // Last time of update of gpu_blacklist. |
| 1118 const char kGpuBlacklistUpdate[] = "gpu_blacklist_update"; | 1142 const char kGpuBlacklistUpdate[] = "gpu_blacklist_update"; |
| 1119 | 1143 |
| 1120 const char kDevToolsDisabled[] = "devtools.disabled"; | 1144 const char kDevToolsDisabled[] = "devtools.disabled"; |
| 1121 | 1145 |
| 1122 // A boolean specifying whether dev tools window should be opened docked. | 1146 // A boolean specifying whether dev tools window should be opened docked. |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1291 "profile.managed_popups_blocked_for_urls"; | 1315 "profile.managed_popups_blocked_for_urls"; |
| 1292 | 1316 |
| 1293 // Dictionary for storing the set of known background pages (keys are extension | 1317 // Dictionary for storing the set of known background pages (keys are extension |
| 1294 // IDs of background page owners, value is a boolean that is true if the user | 1318 // IDs of background page owners, value is a boolean that is true if the user |
| 1295 // needs to acknowledge this page. | 1319 // needs to acknowledge this page. |
| 1296 const char kKnownBackgroundPages[] = "background_pages.known"; | 1320 const char kKnownBackgroundPages[] = "background_pages.known"; |
| 1297 | 1321 |
| 1298 // Dictionary that maps URL schemes (protocols) to URL handlers. | 1322 // Dictionary that maps URL schemes (protocols) to URL handlers. |
| 1299 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; | 1323 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; |
| 1300 } // namespace prefs | 1324 } // namespace prefs |
| OLD | NEW |