Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Unified Diff: chrome/browser/notifications/message_center_notifications_unittest_win.cc

Issue 23636010: Notifications: Add cross-platform UMA: ShowMessageCenter, ShowSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove spurious test code. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/notifications/message_center_notifications_unittest_win.cc
diff --git a/chrome/browser/notifications/message_center_notifications_unittest_win.cc b/chrome/browser/notifications/message_center_notifications_unittest_win.cc
index 01c8534012b2391e7e620e0e018832a3b4eba069..2b29d0830531fba163f27e74b86b7ea53dda62e9 100644
--- a/chrome/browser/notifications/message_center_notifications_unittest_win.cc
+++ b/chrome/browser/notifications/message_center_notifications_unittest_win.cc
@@ -158,7 +158,7 @@ TEST_F(MessageCenterNotificationManagerTest,
FirstRunNotShownWithMessageCenter) {
TestingProfile profile;
notification_manager()->Add(GetANotification("test"), &profile);
- message_center()->SetMessageCenterVisible(true);
+ message_center()->SetVisibility(message_center::VISIBILITY_MESSAGE_CENTER);
run_loop()->RunUntilIdle();
EXPECT_FALSE(notification_manager()->FirstRunTimerIsActive());
EXPECT_FALSE(DidFirstRunPref());

Powered by Google App Engine
This is Rietveld 408576698