Index: chrome/browser/web_resource/notification_promo.h |
diff --git a/chrome/browser/web_resource/notification_promo.h b/chrome/browser/web_resource/notification_promo.h |
index 9c9791d83472a0e72cd1dd1ab31f71e3b4a9e459..e9eb784aa2dc3710644452010a332f20ca5f7014 100644 |
--- a/chrome/browser/web_resource/notification_promo.h |
+++ b/chrome/browser/web_resource/notification_promo.h |
@@ -51,6 +51,15 @@ class NotificationPromo { |
bool new_notification() const { return new_notification_; } |
+ std::string promo_text() const { return promo_text_; } |
+#if defined(OS_ANDROID) || defined(OS_IOS) |
+ std::string promo_text_long() const { return promo_text_long_; } |
+ std::string promo_action_type() const { return promo_action_type_; } |
+ base::ListValue* promo_action_args() const { |
aruslan
2012/07/27 18:18:15
could it be a const base::ListValue* (I guess cons
msarda
2012/07/30 08:41:51
Done (I think that the static_cast is not needed -
|
+ return promo_action_args_.get(); |
+ } |
+#endif // defined(OS_ANDROID) || defined(OS_IOS) |
aruslan
2012/07/27 18:23:35
nit: extra space before defined(OS_IOS)
msarda
2012/07/30 08:41:51
Done.
|
+ |
// Register preferences. |
static void RegisterUserPrefs(PrefService* prefs); |
@@ -84,11 +93,11 @@ class NotificationPromo { |
std::string promo_type_; |
std::string promo_text_; |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) || defined(OS_IOS) |
std::string promo_text_long_; |
std::string promo_action_type_; |
scoped_ptr<base::ListValue> promo_action_args_; |
-#endif |
+#endif // defined(OS_ANDROID) || defined(OS_IOS) |
double start_; |
double end_; |