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

Unified Diff: chrome/browser/extensions/crx_installer.cc

Issue 274943003: Create new histrograms for ExtensionPermission enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing. Created 6 years, 7 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/extensions/crx_installer.cc
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc
index b77769ff455590584b3e6232c284f5dacda26f6b..32e27aa3b650d8719c099d442b2b3640aabf90a1 100644
--- a/chrome/browser/extensions/crx_installer.cc
+++ b/chrome/browser/extensions/crx_installer.cc
@@ -659,9 +659,9 @@ void CrxInstaller::InstallUIAbort(bool user_initiated) {
// and if it is false, this function is called in response to
// ExtensionInstallPrompt::ConfirmInstall().
if (!update_from_settings_page_) {
- std::string histogram_name = user_initiated ?
- "Extensions.Permissions_InstallCancel" :
- "Extensions.Permissions_InstallAbort";
+ std::string histogram_name = user_initiated
+ ? "Extensions.Permissions_InstallCancel2"
+ : "Extensions.Permissions_InstallAbort2";
ExtensionService::RecordPermissionMessagesHistogram(
extension(), histogram_name.c_str());

Powered by Google App Engine
This is Rietveld 408576698