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

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

Issue 8073011: Merge 101979 - promo_resource_service fixes/cleanup for promos. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/874/src/
Patch Set: Created 9 years, 2 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1267 1267
1268 // The last locale the promo was fetched for. 1268 // The last locale the promo was fetched for.
1269 const char kNTPPromoLocale[] = "ntp.promo_locale"; 1269 const char kNTPPromoLocale[] = "ntp.promo_locale";
1270 1270
1271 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. 1271 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds.
1272 const char kNTPPromoBuild[] = "ntp.promo_build"; 1272 const char kNTPPromoBuild[] = "ntp.promo_build";
1273 1273
1274 // True if user has explicitly closed the promo line. 1274 // True if user has explicitly closed the promo line.
1275 const char kNTPPromoClosed[] = "ntp.promo_closed"; 1275 const char kNTPPromoClosed[] = "ntp.promo_closed";
1276 1276
1277 // Users are randomly divided into 16 groups in order to slowly roll out 1277 // Users are randomly divided into 100 groups in order to slowly roll out
1278 // special promos. 1278 // special promos.
1279 const char kNTPPromoGroup[] = "ntp.promo_group"; 1279 const char kNTPPromoGroup[] = "ntp.promo_group";
1280 1280
1281 // Amount of time each promo group should be shown a promo that is being slowly 1281 // Amount of time each promo group should be shown a promo that is being slowly
1282 // rolled out, in hours. 1282 // rolled out, in hours.
1283 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; 1283 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice";
1284 1284
1285 // Number of groups to roll out this promo to.
1286 const char kNTPPromoGroupMax[] = "ntp.promo_group_max";
1287
1285 // Promo line from server. 1288 // Promo line from server.
1286 const char kNTPPromoLine[] = "ntp.promo_line"; 1289 const char kNTPPromoLine[] = "ntp.promo_line";
1287 1290
1288 // Dates between which the NTP should show a promotional line downloaded 1291 // Dates between which the NTP should show a promotional line downloaded
1289 // from the promo server. 1292 // from the promo server.
1290 const char kNTPPromoStart[] = "ntp.promo_start"; 1293 const char kNTPPromoStart[] = "ntp.promo_start";
1291 const char kNTPPromoEnd[] = "ntp.promo_end"; 1294 const char kNTPPromoEnd[] = "ntp.promo_end";
1292 1295
1293 // Boolean indicating whether the web store is active for the current locale. 1296 // Boolean indicating whether the web store is active for the current locale.
1294 const char kNTPWebStoreEnabled[] = "ntp.webstore_enabled"; 1297 const char kNTPWebStoreEnabled[] = "ntp.webstore_enabled";
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 // specified. 1579 // specified.
1577 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1580 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1578 1581
1579 // Integers that specify the policy refresh rate for device- and user-policy in 1582 // Integers that specify the policy refresh rate for device- and user-policy in
1580 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1583 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1581 // by the cloud policy subsystem. 1584 // by the cloud policy subsystem.
1582 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1585 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1583 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1586 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1584 1587
1585 } // namespace prefs 1588 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698