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

Unified Diff: chrome/browser/ui/ash/launcher/launcher_extension_app_updater.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: chrome/browser/ui/ash/launcher/launcher_extension_app_updater.cc
diff --git a/chrome/browser/ui/ash/launcher/launcher_extension_app_updater.cc b/chrome/browser/ui/ash/launcher/launcher_extension_app_updater.cc
index 5d3945fc9a473e36a6ab97b65501e8c96c5b2f92..eca5da6a696278ae9a6b60c34a3200deba973a45 100644
--- a/chrome/browser/ui/ash/launcher/launcher_extension_app_updater.cc
+++ b/chrome/browser/ui/ash/launcher/launcher_extension_app_updater.cc
@@ -38,8 +38,8 @@ void LauncherExtensionAppUpdater::OnExtensionLoaded(
void LauncherExtensionAppUpdater::OnExtensionUnloaded(
content::BrowserContext* browser_context,
const extensions::Extension* extension,
- extensions::UnloadedExtensionInfo::Reason reason) {
- if (reason == extensions::UnloadedExtensionInfo::REASON_UNINSTALL)
+ extensions::UnloadedExtensionReason reason) {
+ if (reason == extensions::UnloadedExtensionReason::REASON_UNINSTALL)
delegate()->OnAppUninstalledPrepared(browser_context, extension->id());
else
delegate()->OnAppUpdated(browser_context, extension->id());

Powered by Google App Engine
This is Rietveld 408576698