Home
last modified time | relevance | path

Searched refs:num_groups_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/web_resource/
Dpromo_resource_service_unittest.cc78 num_groups_(0), in NotificationPromoTest()
114 num_groups_ = num_groups; in Init()
142 EXPECT_EQ(notification_promo_.num_groups_, num_groups_); in TestNotification()
153 EXPECT_LT(notification_promo_.group_, num_groups_); in TestNotification()
173 EXPECT_EQ(notification_promo_.num_groups_, in TestInitFromPrefs()
174 prefs_notification_promo.num_groups_); in TestInitFromPrefs()
195 const int incr = num_groups_ / 20; in TestGroup()
196 for (int i = max_group_; i < num_groups_; i += incr) { in TestGroup()
209 for (int i = 0; i < num_groups_; i += incr) { in TestGroup()
297 notification_promo_.num_groups_ = 18; in TestIncrement()
[all …]
Dnotification_promo.cc198 num_groups_(kDefaultGroupSize), in NotificationPromo()
253 grouping->GetInteger("buckets", &num_groups_); in InitFromJson()
259 DVLOG(1) << "num_groups_ = " << num_groups_ in InitFromJson()
313 group_ = base::RandInt(0, num_groups_ - 1); in OnNewNotification()
344 ntp_promo->SetInteger(kPrefPromoNumGroups, num_groups_); in WritePrefs()
393 ntp_promo->GetInteger(kPrefPromoNumGroups, &num_groups_); in InitFromPrefs()
Dnotification_promo.h117 int num_groups_; variable