promo 184 chrome/browser/ui/webui/ntp/android/promo_handler.cc NotificationPromoMobileNtp promo; promo 185 chrome/browser/ui/webui/ntp/android/promo_handler.cc if (!promo.InitFromPrefs()) promo 188 chrome/browser/ui/webui/ntp/android/promo_handler.cc if (promo.action_type() == "ACTION_EMAIL") promo 189 chrome/browser/ui/webui/ntp/android/promo_handler.cc HandlePromoSendEmail(promo.action_args()); promo 248 chrome/browser/ui/webui/ntp/android/promo_handler.cc NotificationPromoMobileNtp promo; promo 249 chrome/browser/ui/webui/ntp/android/promo_handler.cc if (!promo.InitFromPrefs()) promo 252 chrome/browser/ui/webui/ntp/android/promo_handler.cc DCHECK(!promo.text().empty()); promo 254 chrome/browser/ui/webui/ntp/android/promo_handler.cc promo.requires_sync(), promo.requires_mobile_only_sync())) { promo 260 chrome/browser/ui/webui/ntp/android/promo_handler.cc promo.show_on_most_visited()); promo 261 chrome/browser/ui/webui/ntp/android/promo_handler.cc result->SetBoolean("promoIsAllowedOnOpenTabs", promo.show_on_open_tabs()); promo 262 chrome/browser/ui/webui/ntp/android/promo_handler.cc result->SetBoolean("promoIsAllowedAsVC", promo.show_as_virtual_computer()); promo 263 chrome/browser/ui/webui/ntp/android/promo_handler.cc result->SetString("promoVCTitle", promo.virtual_computer_title()); promo 264 chrome/browser/ui/webui/ntp/android/promo_handler.cc result->SetString("promoVCLastSynced", promo.virtual_computer_lastsync()); promo 265 chrome/browser/ui/webui/ntp/android/promo_handler.cc result->SetString("promoMessage", ReplaceSimpleMarkupWithHtml(promo.text())); promo 267 chrome/browser/ui/webui/ntp/android/promo_handler.cc ReplaceSimpleMarkupWithHtml(promo.text_long())); promo 218 chrome/browser/web_resource/notification_promo.cc const base::DictionaryValue* promo = NULL; promo 219 chrome/browser/web_resource/notification_promo.cc if (!promo_list->GetDictionary(0, &promo)) promo 224 chrome/browser/web_resource/notification_promo.cc if (promo->GetList("date", &date_list)) { promo 246 chrome/browser/web_resource/notification_promo.cc if (promo->GetDictionary("grouping", &grouping)) { promo 262 chrome/browser/web_resource/notification_promo.cc promo->GetDictionary("strings", &strings); promo 266 chrome/browser/web_resource/notification_promo.cc if (promo->GetDictionary("payload", &payload)) { promo 282 chrome/browser/web_resource/notification_promo.cc promo->GetInteger("max_views", &max_views_); promo 421 chrome/browser/web_resource/notification_promo.cc NotificationPromo promo; promo 422 chrome/browser/web_resource/notification_promo.cc promo.InitFromPrefs(promo_type); promo 423 chrome/browser/web_resource/notification_promo.cc if (!promo.closed_) { promo 424 chrome/browser/web_resource/notification_promo.cc promo.closed_ = true; promo 425 chrome/browser/web_resource/notification_promo.cc promo.WritePrefs(); promo 432 chrome/browser/web_resource/notification_promo.cc NotificationPromo promo; promo 433 chrome/browser/web_resource/notification_promo.cc promo.InitFromPrefs(promo_type); promo 434 chrome/browser/web_resource/notification_promo.cc ++promo.views_; promo 435 chrome/browser/web_resource/notification_promo.cc promo.WritePrefs(); promo 436 chrome/browser/web_resource/notification_promo.cc return promo.ExceedsMaxViews(); promo 580 chrome/browser/web_resource/promo_resource_service_unittest.cc EXPECT_FALSE(promo_test.promo().CanShow());