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

Unified Diff: chrome/browser/web_resource/notification_promo.h

Issue 10790089: Preferences support for multiple promos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | chrome/browser/web_resource/notification_promo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_resource/notification_promo.h
===================================================================
--- chrome/browser/web_resource/notification_promo.h (revision 147894)
+++ chrome/browser/web_resource/notification_promo.h (working copy)
@@ -27,6 +27,9 @@
public:
static GURL PromoServerURL();
+ static const char kNtpNotificationPromoType[];
+ static const char kBubblePromoType[];
+
explicit NotificationPromo(Profile* profile);
~NotificationPromo();
@@ -79,6 +82,7 @@
Profile* profile_;
PrefService* prefs_;
+ std::string promo_type_;
std::string promo_text_;
#if defined(OS_ANDROID)
std::string promo_text_long_;
« no previous file with comments | « no previous file | chrome/browser/web_resource/notification_promo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698