| 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
|
|
|