HomeSort by relevance Sort by last modified time
    Searched refs:max_views_ (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/chrome/browser/web_resource/
promo_resource_service_unittest.cc 83 max_views_(0),
120 max_views_ = max_views;
148 EXPECT_EQ(notification_promo_.max_views_, max_views_);
183 EXPECT_EQ(notification_promo_.max_views_,
184 prefs_notification_promo.max_views_);
217 notification_promo_.views_ = notification_promo_.max_views_ - 2;
223 EXPECT_EQ(new_promo.max_views_ - 1, new_promo.views_);
227 EXPECT_EQ(new_promo.max_views_, new_promo.views_);
231 for (int i = max_views_; i < max_views_ * 2; ++i)
356 int max_views_; member in class:NotificationPromoTest
    [all...]
notification_promo.h 94 // Tests views_ against max_views_.
95 // When max_views_ is 0, we don't cap the number of views.
118 // When max_views_ is 0, we don't cap the number of views.
119 int max_views_; member in class:NotificationPromo
notification_promo.cc 199 max_views_(0),
282 promo->GetInteger("max_views", &max_views_);
283 DVLOG(1) << "max_views_ " << max_views_;
341 ntp_promo->SetInteger(kPrefPromoMaxViews, max_views_);
388 ntp_promo->GetInteger(kPrefPromoMaxViews, &max_views_);
444 return (max_views_ == 0) ? false : views_ >= max_views_;

Completed in 188 milliseconds