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

Unified Diff: extensions/browser/api/idle/idle_api_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/api/idle/idle_api_unittest.cc
diff --git a/extensions/browser/api/idle/idle_api_unittest.cc b/extensions/browser/api/idle/idle_api_unittest.cc
index e5c14fafaedb3c018e6a0ee583ef6021fb671d14..743962db909ae4b40436154f6788df6c6641ed99 100644
--- a/extensions/browser/api/idle/idle_api_unittest.cc
+++ b/extensions/browser/api/idle/idle_api_unittest.cc
@@ -499,7 +499,7 @@ TEST_F(IdleTest, UnloadCleanup) {
// Threshold will reset after unload (and listen count == 0)
ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context());
registry->TriggerOnUnloaded(extension(),
- UnloadedExtensionInfo::REASON_UNINSTALL);
+ UnloadedExtensionReason::REASON_UNINSTALL);
{
ScopedListen listen(idle_manager_, extension()->id());
@@ -517,7 +517,7 @@ TEST_F(IdleTest, UnloadCleanup) {
TEST_F(IdleTest, UnloadOnly) {
ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context());
registry->TriggerOnUnloaded(extension(),
- UnloadedExtensionInfo::REASON_UNINSTALL);
+ UnloadedExtensionReason::REASON_UNINSTALL);
}
// Verifies that its ok for the unload notification to happen before all the
@@ -526,7 +526,7 @@ TEST_F(IdleTest, UnloadWhileListening) {
ScopedListen listen(idle_manager_, extension()->id());
ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context());
registry->TriggerOnUnloaded(extension(),
- UnloadedExtensionInfo::REASON_UNINSTALL);
+ UnloadedExtensionReason::REASON_UNINSTALL);
}
// Verifies that re-adding a listener after a state change doesn't immediately

Powered by Google App Engine
This is Rietveld 408576698