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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.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
« no previous file with comments | « chrome/browser/extensions/navigation_observer.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/app_launcher_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
index 8dac8c27b7153670dfe39c4f700e01d78b92a810..663da82c13b567efdf742121bc2b080310637b9b 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -824,9 +824,9 @@ void AppLauncherHandler::ExtensionEnableFlowAborted(bool user_initiated) {
// called when the extension uninstall dialog is canceled.
const Extension* extension =
extension_service_->GetExtensionById(extension_id_prompting_, true);
- std::string histogram_name = user_initiated ?
- "Extensions.Permissions_ReEnableCancel" :
- "Extensions.Permissions_ReEnableAbort";
+ std::string histogram_name = user_initiated
+ ? "Extensions.Permissions_ReEnableCancel2"
+ : "Extensions.Permissions_ReEnableAbort2";
ExtensionService::RecordPermissionMessagesHistogram(
extension, histogram_name.c_str());
« no previous file with comments | « chrome/browser/extensions/navigation_observer.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698