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

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

Issue 1094873002: Extensions: Switch to new permission message system, part V (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 be392bb8383e5219fb00287a145a5785f3745690..714906ca2c295f5e641e1254e4f3cd46a747a3ae 100644
--- a/chrome/browser/extensions/crx_installer.cc
+++ b/chrome/browser/extensions/crx_installer.cc
@@ -666,11 +666,10 @@ 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_InstallCancel2"
- : "Extensions.Permissions_InstallAbort2";
+ const char* histogram_name = user_initiated ? "InstallCancel"
+ : "InstallAbort";
ExtensionService::RecordPermissionMessagesHistogram(
- extension(), histogram_name.c_str());
+ extension(), histogram_name);
NotifyCrxInstallComplete(false);
}

Powered by Google App Engine
This is Rietveld 408576698