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
278 if (!promo_payload_->GetString("promo_message_short", &promo_text_) && in InitFromJson()284 iter.value().GetAsString(&promo_text_); in InitFromJson()286 DVLOG(1) << "promo_text_=" << promo_text_; in InitFromJson()302 const std::string old_promo_text = old_promo.promo_text_; in CheckForNewNotification()305 old_start != start_ || old_end != end_ || old_promo_text != promo_text_; in CheckForNewNotification()339 ntp_promo->SetString(kPrefPromoText, promo_text_); in WritePrefs()385 ntp_promo->GetString(kPrefPromoText, &promo_text_); in InitFromPrefs()423 !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
66 const std::string& promo_text() const { return promo_text_; } in promo_text()110 std::string promo_text_; variable