Index: chrome/browser/notifications/platform_notification_service_unittest.cc |
diff --git a/chrome/browser/notifications/platform_notification_service_unittest.cc b/chrome/browser/notifications/platform_notification_service_unittest.cc |
index 7145c26816b7202ef1c8caebcd248c72acda5ab1..55108c4b2381daa5fc6359c08b19759724b1e8dd 100644 |
--- a/chrome/browser/notifications/platform_notification_service_unittest.cc |
+++ b/chrome/browser/notifications/platform_notification_service_unittest.cc |
@@ -153,6 +153,7 @@ TEST_F(PlatformNotificationServiceTest, DisplayPageNotificationMatches) { |
content::PlatformNotificationData notification_data; |
notification_data.title = base::ASCIIToUTF16("My notification's title"); |
notification_data.body = base::ASCIIToUTF16("Hello, world!"); |
+ notification_data.silent = true; |
MockDesktopNotificationDelegate* delegate |
= new MockDesktopNotificationDelegate(); |
@@ -171,6 +172,7 @@ TEST_F(PlatformNotificationServiceTest, DisplayPageNotificationMatches) { |
base::UTF16ToUTF8(notification.title())); |
EXPECT_EQ("Hello, world!", |
base::UTF16ToUTF8(notification.message())); |
+ EXPECT_TRUE(notification.silent()); |
} |
TEST_F(PlatformNotificationServiceTest, DisplayNameForOrigin) { |