Chromium Code Reviews| Index: chrome/browser/ui/app_list/app_context_menu.cc |
| diff --git a/chrome/browser/ui/app_list/app_context_menu.cc b/chrome/browser/ui/app_list/app_context_menu.cc |
| index ede059983368c9c7f1309452811a2a630420b589..acea1d674a95f3f147047bf6b7a2704b0e36315c 100644 |
| --- a/chrome/browser/ui/app_list/app_context_menu.cc |
| +++ b/chrome/browser/ui/app_list/app_context_menu.cc |
| @@ -6,6 +6,7 @@ |
| #include "base/bind.h" |
| #include "base/command_line.h" |
| +#include "base/metrics/histogram.h" |
| #include "chrome/browser/extensions/context_menu_matcher.h" |
| #include "chrome/browser/extensions/menu_manager.h" |
| #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| @@ -254,6 +255,7 @@ void AppContextMenu::ExecuteCommand(int command_id, int event_flags) { |
| } else if (command_id == CREATE_SHORTCUTS) { |
| controller_->DoCreateShortcutsFlow(profile_, app_id_); |
| } else if (command_id == SHOW_APP_INFO) { |
| + UMA_HISTOGRAM_ENUMERATION("Apps.AppInfoDialogLaunched", 1, 2); |
|
benwells
2014/08/04 01:41:40
Could you define the enum now too?
sashab
2014/08/04 01:47:49
Done :)
|
| controller_->DoShowAppInfoFlow(profile_, app_id_); |
| } else if (command_id >= USE_LAUNCH_TYPE_COMMAND_START && |
| command_id < USE_LAUNCH_TYPE_COMMAND_END) { |