Index: chrome/browser/extensions/extension_service.cc |
=================================================================== |
--- chrome/browser/extensions/extension_service.cc (revision 100719) |
+++ chrome/browser/extensions/extension_service.cc (working copy) |
@@ -78,6 +78,7 @@ |
#include "content/browser/plugin_process_host.h" |
#include "content/browser/plugin_service.h" |
#include "content/browser/renderer_host/render_process_host.h" |
+#include "content/browser/user_metrics.h" |
#include "content/common/content_notification_types.h" |
#include "content/common/json_value_serializer.h" |
#include "content/common/notification_service.h" |
@@ -956,6 +957,10 @@ |
sync_bundle->synced_extensions.erase(extension_id); |
} |
+ // Track the uninstallation. |
+ UserMetrics::RecordAction( |
+ UserMetricsAction("Extensions.ExtensionUninstalled")); |
+ |
return true; |
} |