Searched refs:promo_text_ (Results 1 – 4 of 4) sorted by relevance
109 promo_text_ = promo_text; in Init()137 EXPECT_EQ(notification_promo_.promo_text_, promo_text_); in TestNotification()167 EXPECT_EQ(notification_promo_.promo_text_, in TestInitFromPrefs()168 prefs_notification_promo.promo_text_); in TestInitFromPrefs()261 notification_promo_.promo_text_.clear(); in TestPromoText()264 notification_promo_.promo_text_ = promo_text_; in TestPromoText()345 std::string promo_text_; member in NotificationPromoTest
272 if (!promo_payload_->GetString("promo_message_short", &promo_text_) && in InitFromJson()278 iter.value().GetAsString(&promo_text_); in InitFromJson()280 DVLOG(1) << "promo_text_=" << promo_text_; in InitFromJson()293 const std::string old_promo_text = old_promo.promo_text_; in CheckForNewNotification()296 old_start != start_ || old_end != end_ || old_promo_text != promo_text_; in CheckForNewNotification()330 ntp_promo->SetString(kPrefPromoText, promo_text_); in WritePrefs()374 ntp_promo->GetString(kPrefPromoText, &promo_text_); in InitFromPrefs()410 !promo_text_.empty() && in CanShow()
56 promo_text_ = promo_text; in Init()78 EXPECT_EQ(mobile_promo_.text(), promo_text_); in TestNotification()127 std::string promo_text_; member in NotificationPromoMobileNtpTest
65 const std::string& promo_text() const { return promo_text_; } in promo_text()105 std::string promo_text_; variable