Commit 4f1ee370 authored by David Black's avatar David Black Committed by Commit Bot

Record Screenshot_ShowInFolder UserAction

This UserAction is recorded from a user click on the body of a
screenshot notification.

Bug: 1126573
Change-Id: Ifcb2a3910e55b5019e641b24b4b4a64288361a50
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401267Reviewed-by: default avatarMark Pearson <mpearson@chromium.org>
Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: David Black <dmblack@google.com>
Cr-Commit-Position: refs/heads/master@{#805933}
parent ba734d5a
...@@ -93,6 +93,7 @@ class ScreenshotGrabberNotificationDelegate ...@@ -93,6 +93,7 @@ class ScreenshotGrabberNotificationDelegate
platform_util::ShowItemInFolder(profile_, screenshot_path_); platform_util::ShowItemInFolder(profile_, screenshot_path_);
NotificationDisplayService::GetForProfile(profile_)->Close( NotificationDisplayService::GetForProfile(profile_)->Close(
NotificationHandler::Type::TRANSIENT, kNotificationId); NotificationHandler::Type::TRANSIENT, kNotificationId);
base::RecordAction(base::UserMetricsAction("Screenshot_ShowInFolder"));
} }
return; return;
} }
......
...@@ -20263,6 +20263,15 @@ should be able to be added at any place in this file. ...@@ -20263,6 +20263,15 @@ should be able to be added at any place in this file.
<description>Please enter the description of this user action.</description> <description>Please enter the description of this user action.</description>
</action> </action>
<action name="Screenshot_ShowInFolder">
<owner>xiyuan@chromium.org</owner>
<owner>gzadina@google.com</owner>
<description>
User clicks the body of the notification displayed after taking a screenshot
in order to show the screenshot file in its folder.
</description>
</action>
<action name="Screenshot_TakeFull"> <action name="Screenshot_TakeFull">
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> <owner>Please list the metric's owners. Add more owner tags as needed.</owner>
<description>Please enter the description of this user action.</description> <description>Please enter the description of this user action.</description>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment