Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: chrome/common/pref_names.cc

Issue 7655008: promo_resource_service fixes/cleanup for promos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: unit test for UnpackPromoSignal reentrancy Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 1200
1201 // The last locale the promo was fetched for. 1201 // The last locale the promo was fetched for.
1202 const char kNTPPromoLocale[] = "ntp.promo_locale"; 1202 const char kNTPPromoLocale[] = "ntp.promo_locale";
1203 1203
1204 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. 1204 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds.
1205 const char kNTPPromoBuild[] = "ntp.promo_build"; 1205 const char kNTPPromoBuild[] = "ntp.promo_build";
1206 1206
1207 // True if user has explicitly closed the promo line. 1207 // True if user has explicitly closed the promo line.
1208 const char kNTPPromoClosed[] = "ntp.promo_closed"; 1208 const char kNTPPromoClosed[] = "ntp.promo_closed";
1209 1209
1210 // Users are randomly divided into 16 groups in order to slowly roll out 1210 // Users are randomly divided into 100 groups in order to slowly roll out
1211 // special promos. 1211 // special promos.
1212 const char kNTPPromoGroup[] = "ntp.promo_group"; 1212 const char kNTPPromoGroup[] = "ntp.promo_group";
1213 1213
1214 // Amount of time each promo group should be shown a promo that is being slowly 1214 // Amount of time each promo group should be shown a promo that is being slowly
1215 // rolled out, in hours. 1215 // rolled out, in hours.
1216 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; 1216 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice";
1217 1217
1218 // Number of groups to roll out this promo to.
1219 const char kNTPPromoGroupMax[] = "ntp.promo_group_max";
1220
1218 // Promo line from server. 1221 // Promo line from server.
1219 const char kNTPPromoLine[] = "ntp.promo_line"; 1222 const char kNTPPromoLine[] = "ntp.promo_line";
1220 1223
1221 // Dates between which the NTP should show a promotional line downloaded 1224 // Dates between which the NTP should show a promotional line downloaded
1222 // from the promo server. 1225 // from the promo server.
1223 const char kNTPPromoStart[] = "ntp.promo_start"; 1226 const char kNTPPromoStart[] = "ntp.promo_start";
1224 const char kNTPPromoEnd[] = "ntp.promo_end"; 1227 const char kNTPPromoEnd[] = "ntp.promo_end";
1225 1228
1226 // Boolean indicating whether the web store is active for the current locale. 1229 // Boolean indicating whether the web store is active for the current locale.
1227 const char kNTPWebStoreEnabled[] = "ntp.webstore_enabled"; 1230 const char kNTPWebStoreEnabled[] = "ntp.webstore_enabled";
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 // specified. 1502 // specified.
1500 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1503 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1501 1504
1502 // Integers that specify the policy refresh rate for device- and user-policy in 1505 // Integers that specify the policy refresh rate for device- and user-policy in
1503 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1506 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1504 // by the cloud policy subsystem. 1507 // by the cloud policy subsystem.
1505 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1508 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1506 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1509 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1507 1510
1508 } // namespace prefs 1511 } // namespace prefs
OLDNEW
« chrome/browser/web_resource/promo_resource_service.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698