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

Unified Diff: chrome/browser/background/background_application_list_model_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/background/background_application_list_model_unittest.cc
diff --git a/chrome/browser/background/background_application_list_model_unittest.cc b/chrome/browser/background/background_application_list_model_unittest.cc
index 085f95c456c726d6bcee916dd33cbafb1292583a..0dc0cc335c76a5eddac98e17edc7fd22178c62df 100644
--- a/chrome/browser/background/background_application_list_model_unittest.cc
+++ b/chrome/browser/background/background_application_list_model_unittest.cc
@@ -292,8 +292,8 @@ TEST_F(BackgroundApplicationListModelTest, ExtensionLoadAndUnload) {
ASSERT_EQ(1U, model()->size());
extensions::TestExtensionRegistryObserver unload_observer(registry());
- service()->UnloadExtension(
- bgapp->id(), extensions::UnloadedExtensionInfo::REASON_UNINSTALL);
+ service()->UnloadExtension(bgapp->id(),
+ extensions::UnloadedExtensionReason::UNINSTALL);
unload_observer.WaitForExtensionUnloaded();
ASSERT_TRUE(registry()->enabled_extensions().is_empty());
EXPECT_EQ(0U, model()->size());

Powered by Google App Engine
This is Rietveld 408576698