diff options
author | harrym@chromium.org <harrym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-19 03:58:56 +0000 |
---|---|---|
committer | harrym@chromium.org <harrym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-19 03:58:56 +0000 |
commit | 5dacbb9f951251cb2247da5f0dfe895260560f58 (patch) | |
tree | e52a30ffacc61ed0fa204930383dfa2abec38567 /ash/shell.h | |
parent | 3164aa6480e48957ceeff0a0ef3da5558f3ce576 (diff) | |
download | chromium_src-5dacbb9f951251cb2247da5f0dfe895260560f58.zip chromium_src-5dacbb9f951251cb2247da5f0dfe895260560f58.tar.gz chromium_src-5dacbb9f951251cb2247da5f0dfe895260560f58.tar.bz2 |
Adding 2 simple UMA stats to track shelf alignment usage, firstly track when a shelf alignment is changed (rare), and during usage of the shelf launcher (buttons on the shelf) track the current alignment (more common) to provide some data on how frequent usage is of the various alignments.
BUG=298174
TBR=askvitkine@chromium.org
Review URL: https://codereview.chromium.org/26373009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235904 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.h')
-rw-r--r-- | ash/shell.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ash/shell.h b/ash/shell.h index 410be21..1c4e779 100644 --- a/ash/shell.h +++ b/ash/shell.h @@ -9,6 +9,7 @@ #include <vector> #include "ash/ash_export.h" +#include "ash/periodic_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" @@ -584,6 +585,7 @@ class ASH_EXPORT Shell std::vector<WindowAndBoundsPair> to_restore_; + scoped_ptr<PeriodicMetricsRecorder> periodic_metrics_recorder_; scoped_ptr<keyboard::KeyboardController> keyboard_controller_; scoped_ptr<NestedDispatcherController> nested_dispatcher_controller_; scoped_ptr<AcceleratorController> accelerator_controller_; |