Lines Matching defs:NotificationPromo

85   // TODO(achuith): Move NotificationPromo::PromoServerURL to the blocking pool.
105 NotificationPromo::PromoType promo_type;
110 { NotificationPromo::NO_PROMO, "" },
111 { NotificationPromo::NTP_NOTIFICATION_PROMO, "ntp_notification_promo" },
112 { NotificationPromo::NTP_BUBBLE_PROMO, "ntp_bubble_promo" },
113 { NotificationPromo::MOBILE_NTP_SYNC_PROMO, "mobile_ntp_sync_promo" },
114 { NotificationPromo::MOBILE_NTP_WHATS_NEW_PROMO,
119 const char* PromoTypeToString(NotificationPromo::PromoType promo_type) {
192 NotificationPromo::NotificationPromo()
213 NotificationPromo::~NotificationPromo() {}
215 void NotificationPromo::InitFromJson(const base::DictionaryValue& json,
297 void NotificationPromo::CheckForNewNotification() {
298 NotificationPromo old_promo;
310 void NotificationPromo::OnNewNotification() {
318 void NotificationPromo::RegisterPrefs(PrefRegistrySimple* registry) {
323 void NotificationPromo::RegisterProfilePrefs(
333 void NotificationPromo::MigrateUserPrefs(PrefService* user_prefs) {
337 void NotificationPromo::WritePrefs() {
368 void NotificationPromo::InitFromPrefs(PromoType promo_type) {
408 bool NotificationPromo::CheckAppLauncher() const {
421 bool NotificationPromo::CanShow() const {
433 void NotificationPromo::HandleClosed(PromoType promo_type) {
435 NotificationPromo promo;
444 bool NotificationPromo::HandleViewed(PromoType promo_type) {
446 NotificationPromo promo;
456 bool NotificationPromo::ExceedsMaxGroup() const {
460 bool NotificationPromo::ExceedsMaxViews() const {
464 bool NotificationPromo::ExceedsMaxSeconds() const {
474 GURL NotificationPromo::PromoServerURL() {
485 double NotificationPromo::StartTimeForGroup() const {
493 double NotificationPromo::EndTime() const {