commit | 333b1de96adffbde36931f68a0ee9f099d9dd8f3 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Sep 12 18:28:50 2011 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Sep 12 18:28:50 2011 |
tree | a579277f2e08121bd441466beaffdc825d0937b4 | |
parent | 78f7350ed13da5d6211acc91778978f4930338f6 [diff] [blame] |
Moved from http://codereview.chromium.org/7811020/ (same CL but was on a read-only check-out) BUG=94920 -Related: Check in a new CRX: http://codereview.chromium.org/7828014/ Check in a few GYP changes: http://codereview.chromium.org/7827021/ -Modified profile_impl to search for and auto-install apps found in DIR_DEFAULT_APPS when profile created -Added tracking code for number of extension installs and uninstalls and number of webstore visits. Review URL: http://codereview.chromium.org/7839009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100727 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc index dc4d403..59770e7 100644 --- a/chrome/browser/extensions/extension_service.cc +++ b/chrome/browser/extensions/extension_service.cc
@@ -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; }