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

Unified Diff: chrome/browser/background/background_contents_service.cc

Issue 398083002: Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/background/background_contents_service.cc
diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
index 687d87a3103434423a56b6021e37d3c9bd2bd2c5..540c242afe5c86ed4f287cbac58917941fda9a43 100644
--- a/chrome/browser/background/background_contents_service.cc
+++ b/chrome/browser/background/background_contents_service.cc
@@ -501,7 +501,8 @@ void BackgroundContentsService::Observe(
case chrome::NOTIFICATION_EXTENSION_UNINSTALLED_DEPRECATED: {
// Close the crash notification balloon for the app/extension, if any.
ScheduleCloseBalloon(
- content::Details<const Extension>(details).ptr()->id());
+ content::Details<extensions::UninstalledExtensionInfo>(details)
+ ->extension->id());
break;
}

Powered by Google App Engine
This is Rietveld 408576698