Index: extensions/browser/process_manager_unittest.cc |
diff --git a/extensions/browser/process_manager_unittest.cc b/extensions/browser/process_manager_unittest.cc |
index f42e227aa4d73e6071c0bd627e69bf79497d2084..121f1109a0cd73adf9c49b981a19ed2fd1983c8c 100644 |
--- a/extensions/browser/process_manager_unittest.cc |
+++ b/extensions/browser/process_manager_unittest.cc |
@@ -169,23 +169,10 @@ TEST_F(ProcessManagerTest, ExtensionNotificationRegistration) { |
chrome::NOTIFICATION_EXTENSION_HOST_DESTROYED, |
incognito_context())); |
- // Some notifications are observed for both incognito and original. |
- EXPECT_TRUE(IsRegistered(manager2.get(), |
- chrome::NOTIFICATION_PROFILE_DESTROYED, |
- original_context())); |
- EXPECT_TRUE(IsRegistered(manager2.get(), |
- chrome::NOTIFICATION_PROFILE_DESTROYED, |
- incognito_context())); |
- |
// Some are not observed at all. |
EXPECT_FALSE(IsRegistered(manager2.get(), |
chrome::NOTIFICATION_EXTENSIONS_READY, |
original_context())); |
- |
- // This notification is observed for incognito contexts only. |
- EXPECT_TRUE(IsRegistered(manager2.get(), |
- chrome::NOTIFICATION_PROFILE_DESTROYED, |
- incognito_context())); |
} |
// Test that startup background hosts are created when the extension system |