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

Unified Diff: chrome/browser/performance_monitor/performance_monitor.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/performance_monitor/performance_monitor.cc
diff --git a/chrome/browser/performance_monitor/performance_monitor.cc b/chrome/browser/performance_monitor/performance_monitor.cc
index dd76da90000dd70e37217c7c1e9b87674e1b4603..0401b771925687f12b622fda669cf1b61f796942 100644
--- a/chrome/browser/performance_monitor/performance_monitor.cc
+++ b/chrome/browser/performance_monitor/performance_monitor.cc
@@ -594,8 +594,9 @@ void PerformanceMonitor::Observe(int type,
break;
}
case chrome::NOTIFICATION_EXTENSION_UNINSTALLED_DEPRECATED: {
- AddExtensionEvent(EVENT_EXTENSION_UNINSTALL,
- content::Details<Extension>(details).ptr());
+ extensions::UninstalledExtensionInfo* info =
+ content::Details<extensions::UninstalledExtensionInfo>(details).ptr();
+ AddExtensionEvent(EVENT_EXTENSION_UNINSTALL, info->extension);
break;
}
case content::NOTIFICATION_RENDER_WIDGET_HOST_HANG: {

Powered by Google App Engine
This is Rietveld 408576698