diff options
author | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-04 00:17:22 +0000 |
---|---|---|
committer | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-04 00:17:22 +0000 |
commit | 6708dbce1712008b66a55e6260d7410680834bef (patch) | |
tree | 83715ff8d46932ca0eba6a931f1705afde476d57 /chrome/browser/ui/browser_command_controller.cc | |
parent | 9b9a6c37d7a4b19d64ce31e0d02213ec7770e068 (diff) | |
download | chromium_src-6708dbce1712008b66a55e6260d7410680834bef.zip chromium_src-6708dbce1712008b66a55e6260d7410680834bef.tar.gz chromium_src-6708dbce1712008b66a55e6260d7410680834bef.tar.bz2 |
Adds UMA for switch to metro and swith to desktop (win8)
- Trying to keep it simple so I can merge to 24 or 23.
BUG=159041
TEST=none
TBR=sky
Review URL: https://chromiumcodereview.appspot.com/11275142
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_command_controller.cc')
-rw-r--r-- | chrome/browser/ui/browser_command_controller.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc index 5e11692..a2672e4 100644 --- a/chrome/browser/ui/browser_command_controller.cc +++ b/chrome/browser/ui/browser_command_controller.cc @@ -35,6 +35,7 @@ #include "content/public/browser/navigation_entry.h" #include "content/public/browser/notification_details.h" #include "content/public/browser/notification_source.h" +#include "content/public/browser/user_metrics.h" #include "content/public/browser/web_contents.h" #include "content/public/common/content_restriction.h" #include "content/public/common/url_constants.h" @@ -411,9 +412,11 @@ void BrowserCommandController::ExecuteCommandWithDisposition( break; case IDC_WIN8_DESKTOP_RESTART: browser::AttemptRestartWithModeSwitch(); + content::RecordAction(content::UserMetricsAction("Win8DesktopRestart")); break; case IDC_WIN8_METRO_RESTART: new SwichToMetroUIHandler; + content::RecordAction(content::UserMetricsAction("Win8MetroRestart")); break; #endif |