Index: chrome/browser/notifications/message_center_notifications_browsertest.cc |
diff --git a/chrome/browser/notifications/message_center_notifications_browsertest.cc b/chrome/browser/notifications/message_center_notifications_browsertest.cc |
index 84cde473fc6c8155b202e0c4229992adfa9e59c1..8d13aaf20b8bf2758469a1d8ff8af4d979e102c1 100644 |
--- a/chrome/browser/notifications/message_center_notifications_browsertest.cc |
+++ b/chrome/browser/notifications/message_center_notifications_browsertest.cc |
@@ -283,12 +283,12 @@ IN_PROC_BROWSER_TEST_F(MessageCenterNotificationsTest, |
TestDelegate* delegate2; |
manager()->Add(CreateTestNotification("n", &delegate), profile()); |
- message_center()->SetMessageCenterVisible(true); |
+ message_center()->SetVisibility(message_center::VISIBILITY_MESSAGE_CENTER); |
manager()->Add(CreateTestNotification("n2", &delegate2), profile()); |
EXPECT_EQ("add-n", observer.log()); |
- message_center()->SetMessageCenterVisible(false); |
+ message_center()->SetVisibility(message_center::VISIBILITY_TRANSIENT); |
EXPECT_EQ("add-n_add-n2", observer.log()); |
@@ -323,7 +323,7 @@ IN_PROC_BROWSER_TEST_F(MessageCenterNotificationsTest, |
Notification notification = CreateTestNotification("n", &delegate); |
manager()->Add(notification, profile()); |
message_center()->ClickOnNotification("n"); |
- message_center()->SetMessageCenterVisible(true); |
+ message_center()->SetVisibility(message_center::VISIBILITY_MESSAGE_CENTER); |
observer.reset_log(); |
notification.set_title(ASCIIToUTF16("title2")); |
manager()->Update(notification, profile()); |
@@ -362,7 +362,7 @@ IN_PROC_BROWSER_TEST_F( |
Notification notification = CreateTestNotification("n", &delegate); |
manager()->Add(notification, profile()); |
message_center()->ClickOnNotification("n"); |
- message_center()->SetMessageCenterVisible(true); |
+ message_center()->SetVisibility(message_center::VISIBILITY_MESSAGE_CENTER); |
observer.reset_log(); |
notification.set_type(message_center::NOTIFICATION_TYPE_PROGRESS); |
manager()->Update(notification, profile()); |
@@ -401,7 +401,7 @@ IN_PROC_BROWSER_TEST_F(MessageCenterNotificationsTest, |
notification.set_type(message_center::NOTIFICATION_TYPE_PROGRESS); |
manager()->Add(notification, profile()); |
message_center()->ClickOnNotification("n"); |
- message_center()->SetMessageCenterVisible(true); |
+ message_center()->SetVisibility(message_center::VISIBILITY_MESSAGE_CENTER); |
observer.reset_log(); |
notification.set_progress(50); |
manager()->Update(notification, profile()); |