Index: chrome/browser/web_resource/notification_promo_mobile_ntp.cc |
diff --git a/chrome/browser/web_resource/notification_promo_mobile_ntp.cc b/chrome/browser/web_resource/notification_promo_mobile_ntp.cc |
index 3676c815078c87497b030609cefdded5eadedc9b..e8956d1cb4e9e6daeb3d029ba726e87ee1a48df4 100644 |
--- a/chrome/browser/web_resource/notification_promo_mobile_ntp.cc |
+++ b/chrome/browser/web_resource/notification_promo_mobile_ntp.cc |
@@ -5,15 +5,12 @@ |
#include "chrome/browser/web_resource/notification_promo_mobile_ntp.h" |
#include "base/values.h" |
-#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/web_resource/notification_promo.h" |
- |
-NotificationPromoMobileNtp::NotificationPromoMobileNtp(Profile* profile) |
+NotificationPromoMobileNtp::NotificationPromoMobileNtp() |
: valid_(false), |
action_args_(NULL), |
- payload_(NULL), |
- notification_promo_(profile) { |
+ payload_(NULL) { |
} |
NotificationPromoMobileNtp::~NotificationPromoMobileNtp() { |
@@ -55,7 +52,7 @@ bool NotificationPromoMobileNtp::InitFromNotificationPromo() { |
return false; |
} |
- // The rest of the fields is optional. |
+ // The rest of the fields are optional. |
valid_ = true; |
payload_->GetBoolean("promo_requires_mobile_only_sync", |
&requires_mobile_only_sync_); |