From 5d2ea361990ac129fd0385c4c85efd17917edfc0 Mon Sep 17 00:00:00 2001 From: "harrym@chromium.org" Date: Fri, 13 Dec 2013 08:10:18 +0000 Subject: Adding UMA metric tracking to the status are menu and related tray views to track usage of the menu's. BUG=297046 Review URL: https://codereview.chromium.org/73583003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240537 0039d316-1c4b-4281-b951-d872f2087c98 --- ash/shell.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ash/shell.cc') diff --git a/ash/shell.cc b/ash/shell.cc index d7b18ca..3242a16 100644 --- a/ash/shell.cc +++ b/ash/shell.cc @@ -83,6 +83,7 @@ #include "base/command_line.h" #include "base/debug/leak_annotations.h" #include "base/debug/trace_event.h" +#include "content/public/browser/user_metrics.h" #include "ui/aura/client/aura_constants.h" #include "ui/aura/client/user_action_client.h" #include "ui/aura/env.h" @@ -576,7 +577,7 @@ Shell::Shell(ShellDelegate* delegate) gpu::GPU_FEATURE_TYPE_PANEL_FITTING); output_configurator_->Init(!is_panel_fitting_disabled); - periodic_metrics_recorder_.reset(new PeriodicMetricsRecorder); + user_metrics_recorder_.reset(new UserMetricsRecorder); base::MessagePumpX11::Current()->AddDispatcherForRootWindow( output_configurator()); -- cgit v1.1