summaryrefslogtreecommitdiffstats
path: root/ash/shell.h
diff options
context:
space:
mode:
authorharrym@chromium.org <harrym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-13 08:10:18 +0000
committerharrym@chromium.org <harrym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-13 08:10:18 +0000
commit5d2ea361990ac129fd0385c4c85efd17917edfc0 (patch)
tree028f0b44d7bda24c341e4bd65e58c2b6b88a1967 /ash/shell.h
parent7f635540943693cca1748e6f7d7345269befac59 (diff)
downloadchromium_src-5d2ea361990ac129fd0385c4c85efd17917edfc0.zip
chromium_src-5d2ea361990ac129fd0385c4c85efd17917edfc0.tar.gz
chromium_src-5d2ea361990ac129fd0385c4c85efd17917edfc0.tar.bz2
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
Diffstat (limited to 'ash/shell.h')
-rw-r--r--ash/shell.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ash/shell.h b/ash/shell.h
index 5c49f6b..339c68c 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -9,7 +9,7 @@
#include <vector>
#include "ash/ash_export.h"
-#include "ash/periodic_metrics_recorder.h"
+#include "ash/metrics/user_metrics_recorder.h"
#include "ash/shelf/shelf_types.h"
#include "ash/system/user/login_status.h"
#include "ash/wm/system_modal_container_event_filter_delegate.h"
@@ -514,6 +514,10 @@ class ASH_EXPORT Shell
// Returns the launcher delegate, creating if necesary.
ShelfDelegate* GetShelfDelegate();
+ UserMetricsRecorder* metrics() {
+ return user_metrics_recorder_.get();
+ }
+
void SetTouchHudProjectionEnabled(bool enabled);
bool is_touch_hud_projection_enabled() const {
@@ -587,7 +591,7 @@ class ASH_EXPORT Shell
std::vector<WindowAndBoundsPair> to_restore_;
- scoped_ptr<PeriodicMetricsRecorder> periodic_metrics_recorder_;
+ scoped_ptr<UserMetricsRecorder> user_metrics_recorder_;
scoped_ptr<keyboard::KeyboardController> keyboard_controller_;
scoped_ptr<NestedDispatcherController> nested_dispatcher_controller_;
scoped_ptr<AcceleratorController> accelerator_controller_;