Home | History | Annotate | Download | only in message_center

Lines Matching refs:id1

111   std::string id1 = AddNotification();
117 EXPECT_TRUE(notification_list()->HasNotification(id1));
118 EXPECT_FALSE(notification_list()->HasNotification(id1 + "foo"));
153 std::string id1 = AddNotification();
160 notification_list()->MarkSinglePopupAsDisplayed(id1);
200 "id1",
233 EXPECT_TRUE(IsInNotifications(by_source, "id1"));
240 EXPECT_TRUE(IsInNotifications(by_extension, "id1"));
374 std::string id1 = AddPriorityNotification(DEFAULT_PRIORITY);
376 notification_list()->MarkSinglePopupAsShown(id1, true);
410 // id1 promoted to DEFAULT->HIGH, it'll appear as toast (popup).
413 id1,
421 notification_list()->UpdateNotificationMessage(id1, notification.Pass());
423 notification_list()->MarkSinglePopupAsShown(id1, true);
426 // id1 promoted to HIGH->MAX, it'll appear as toast again.
429 id1,
437 notification_list()->UpdateNotificationMessage(id1, notification.Pass());
439 notification_list()->MarkSinglePopupAsShown(id1, true);
442 // id1 demoted to MAX->DEFAULT, no appearing as toast.
445 id1,
453 notification_list()->UpdateNotificationMessage(id1, notification.Pass());
502 std::string id1 = AddNotification();
508 notification_list()->MarkSinglePopupAsDisplayed(id1);
519 EXPECT_EQ(id1, (*popups.begin())->id());
529 EXPECT_EQ(id1, (*iter)->id());
562 EXPECT_EQ(id1, (*iter)->id());
566 std::string id1 = AddNotification();
568 notification_list()->MarkSinglePopupAsDisplayed(id1);
573 const Notification* n1 = GetNotification(id1);
577 notification_list()->MarkSinglePopupAsShown(id1, true);
579 n1 = GetNotification(id1);
594 notification_list()->UpdateNotificationMessage(id1, notification.Pass());
595 n1 = GetNotification(id1);