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

Unified Diff: ios/chrome/browser/ui/ntp/notification_promo_whats_new.h

Issue 2799383002: Make NTP Promo invalid if text parameter is not in lookup table. (Closed)
Patch Set: unit test fix Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/browser/ui/ntp/notification_promo_whats_new.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/ntp/notification_promo_whats_new.h
diff --git a/ios/chrome/browser/ui/ntp/notification_promo_whats_new.h b/ios/chrome/browser/ui/ntp/notification_promo_whats_new.h
index 31a74f300eab4065ca199200a9c1e0b9fa4b79c1..b1b0f48630832a10a0cbe56d5d6a6e8333e01333 100644
--- a/ios/chrome/browser/ui/ntp/notification_promo_whats_new.h
+++ b/ios/chrome/browser/ui/ntp/notification_promo_whats_new.h
@@ -42,7 +42,6 @@ class NotificationPromoWhatsNew {
bool valid() const { return valid_; }
const std::string& promo_type() { return promo_type_; }
const std::string& promo_text() { return promo_text_; }
- const std::string& promo_name() { return promo_name_; }
WhatsNewIcon icon() { return icon_; }
bool IsURLPromo() const;
const GURL& url() { return url_; }
@@ -78,9 +77,6 @@ class NotificationPromoWhatsNew {
// Type of whats new promo.
std::string promo_type_;
- // Name of promo.
- std::string promo_name_;
-
// Icon of promo.
WhatsNewIcon icon_;
« no previous file with comments | « no previous file | ios/chrome/browser/ui/ntp/notification_promo_whats_new.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698