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

Unified Diff: extensions/browser/mojo/keep_alive_impl_unittest.cc

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Enum class 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: extensions/browser/mojo/keep_alive_impl_unittest.cc
diff --git a/extensions/browser/mojo/keep_alive_impl_unittest.cc b/extensions/browser/mojo/keep_alive_impl_unittest.cc
index 5373126fb2b96ed6cb3727c9f7e7b5f7e277e1a5..4a29a4954f9ea02a29444d62afc5aab9e18d5edd 100644
--- a/extensions/browser/mojo/keep_alive_impl_unittest.cc
+++ b/extensions/browser/mojo/keep_alive_impl_unittest.cc
@@ -131,11 +131,11 @@ TEST_F(KeepAliveTest, UnloadExtension) {
ExtensionRegistry::Get(browser_context())
->TriggerOnUnloaded(other_extension.get(),
- UnloadedExtensionInfo::REASON_DISABLE);
+ UnloadedExtensionReason::REASON_DISABLE);
EXPECT_EQ(1, GetKeepAliveCount());
ExtensionRegistry::Get(browser_context())
- ->TriggerOnUnloaded(extension(), UnloadedExtensionInfo::REASON_DISABLE);
+ ->TriggerOnUnloaded(extension(), UnloadedExtensionReason::REASON_DISABLE);
// When its extension is unloaded, the KeepAliveImpl should not modify the
// keep-alive count for its extension. However, ProcessManager resets its
// keep-alive count for an unloaded extension.

Powered by Google App Engine
This is Rietveld 408576698