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

Unified Diff: extensions/browser/mojo/keep_alive_impl_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
« no previous file with comments | « extensions/browser/mojo/keep_alive_impl.cc ('k') | extensions/browser/process_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..da13052b5d3f06218b38743d7cb8bc78bb6a229e 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::DISABLE);
EXPECT_EQ(1, GetKeepAliveCount());
ExtensionRegistry::Get(browser_context())
- ->TriggerOnUnloaded(extension(), UnloadedExtensionInfo::REASON_DISABLE);
+ ->TriggerOnUnloaded(extension(), UnloadedExtensionReason::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.
« no previous file with comments | « extensions/browser/mojo/keep_alive_impl.cc ('k') | extensions/browser/process_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698