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

Unified Diff: extensions/browser/process_manager_unittest.cc

Issue 415933003: Remove chrome::NOTIFICATION_PROFILE_DESTROYED usage from src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 6 years, 5 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
« no previous file with comments | « extensions/browser/process_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « extensions/browser/process_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698