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

Unified Diff: extensions/browser/process_manager_unittest.cc

Issue 566863002: Remove deprecated extension notification from ProcessManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the errors for untitest Created 6 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
« 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 e04b0d32eb18ed1ab8b69e238d031d51c0e5df3b..957e3a2cfa9cd77be95db8b451b0535b91c3cf09 100644
--- a/extensions/browser/process_manager_unittest.cc
+++ b/extensions/browser/process_manager_unittest.cc
@@ -111,13 +111,6 @@ TEST_F(ProcessManagerTest, ExtensionNotificationRegistration) {
extensions::NOTIFICATION_EXTENSIONS_READY_DEPRECATED,
original_context()));
EXPECT_TRUE(IsRegistered(manager1.get(),
- extensions::NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
- original_context()));
- EXPECT_TRUE(
- IsRegistered(manager1.get(),
- extensions::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
- original_context()));
- EXPECT_TRUE(IsRegistered(manager1.get(),
extensions::NOTIFICATION_EXTENSION_HOST_DESTROYED,
original_context()));
@@ -131,11 +124,6 @@ TEST_F(ProcessManagerTest, ExtensionNotificationRegistration) {
EXPECT_EQ(incognito_context(), manager2->GetBrowserContext());
EXPECT_EQ(0u, manager2->background_hosts().size());
- // Some notifications are observed for the original context.
- EXPECT_TRUE(IsRegistered(manager2.get(),
- extensions::NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
- original_context()));
-
// Some notifications are observed for the incognito context.
EXPECT_TRUE(IsRegistered(manager2.get(),
extensions::NOTIFICATION_EXTENSION_HOST_DESTROYED,
« 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