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

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

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 years, 8 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/notification_system_observer_unittest.cc
diff --git a/chrome/browser/notifications/notification_system_observer_unittest.cc b/chrome/browser/notifications/notification_system_observer_unittest.cc
index 8f9e97ca0bf290d88e260ee918e10842b134aa68..6206402eee9a4088efb45f200b4328ed395d1c1a 100644
--- a/chrome/browser/notifications/notification_system_observer_unittest.cc
+++ b/chrome/browser/notifications/notification_system_observer_unittest.cc
@@ -64,7 +64,7 @@ TEST_F(NotificationSystemObserverTest, MultiProfileExtensionUnloaded) {
ASSERT_NE(extension->url(), ui_manager()->last_canceled_source());
// Claim the extension has been unloaded.
extensions::ExtensionRegistry::Get(profile())->TriggerOnUnloaded(
- extension.get(), extensions::UnloadedExtensionInfo::REASON_UNINSTALL);
+ extension.get(), extensions::UnloadedExtensionReason::UNINSTALL);
// Check the NotificationUIManger has canceled the source coming from the
// unloaded extension.
EXPECT_EQ(extension->url(), ui_manager()->last_canceled_source());
@@ -75,6 +75,6 @@ TEST_F(NotificationSystemObserverTest, MultiProfileExtensionUnloaded) {
CreateGoodExtension("bar");
// Claim the extension has been unloaded with anoter profile.
extensions::ExtensionRegistry::Get(profile2)->TriggerOnUnloaded(
- extension2.get(), extensions::UnloadedExtensionInfo::REASON_UNINSTALL);
+ extension2.get(), extensions::UnloadedExtensionReason::UNINSTALL);
EXPECT_EQ(extension2->url(), ui_manager()->last_canceled_source());
}

Powered by Google App Engine
This is Rietveld 408576698