Home
last modified time | relevance | path

Searched refs:notification_promo (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/web_resource/
Dpromo_resource_service.cc102 const NotificationPromo& notification_promo) { in ScheduleNotification() argument
103 const double promo_start = notification_promo.StartTimeForGroup(); in ScheduleNotification()
104 const double promo_end = notification_promo.EndTime(); in ScheduleNotification()
137 NotificationPromo notification_promo; in ScheduleNotificationOnInit() local
138 notification_promo.InitFromPrefs(kValidPromoTypes[i]); in ScheduleNotificationOnInit()
139 ScheduleNotification(notification_promo); in ScheduleNotificationOnInit()
171 NotificationPromo notification_promo; in Unpack() local
172 notification_promo.InitFromJson(parsed_json, kValidPromoTypes[i]); in Unpack()
173 if (notification_promo.new_notification()) in Unpack()
174 ScheduleNotification(notification_promo); in Unpack()
Dpromo_resource_service.h42 void ScheduleNotification(const NotificationPromo& notification_promo);
Dnotification_promo_mobile_ntp.h49 const NotificationPromo& notification_promo() const { in notification_promo() function
Dpromo_resource_service_mobile_ntp_unittest.cc69 mobile_promo_.notification_promo().new_notification()); in InitPromoFromJson()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dntp_resource_cache.cc532 NotificationPromo notification_promo; in CreateNewTabHTML() local
533 notification_promo.InitFromPrefs(NotificationPromo::NTP_NOTIFICATION_PROMO); in CreateNewTabHTML()
534 if (notification_promo.CanShow()) { in CreateNewTabHTML()
536 notification_promo.promo_text()); in CreateNewTabHTML()
537 DVLOG(1) << "Notification promo:" << notification_promo.promo_text(); in CreateNewTabHTML()
/external/chromium_org/chrome/
Dchrome_browser.gypi1358 'browser/web_resource/notification_promo.cc',
1359 'browser/web_resource/notification_promo.h',