Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3385)

Unified Diff: chrome/browser/ui/ash/chrome_screenshot_grabber.cc

Issue 2376553002: chromeos: Add Screenshot_Annotate metric. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/metrics/actions/actions.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/chrome_screenshot_grabber.cc
diff --git a/chrome/browser/ui/ash/chrome_screenshot_grabber.cc b/chrome/browser/ui/ash/chrome_screenshot_grabber.cc
index 5d622d7cb937f18b0ea5576504d6a93743ad651d..77c973948c798ef6ad8d445075f86bd31f7c36a6 100644
--- a/chrome/browser/ui/ash/chrome_screenshot_grabber.cc
+++ b/chrome/browser/ui/ash/chrome_screenshot_grabber.cc
@@ -136,8 +136,10 @@ class ScreenshotGrabberNotificationDelegate : public NotificationDelegate {
break;
}
case BUTTON_ANNOTATE: {
- if (chromeos::IsNoteTakingAppAvailable(profile_))
+ if (chromeos::IsNoteTakingAppAvailable(profile_)) {
chromeos::LaunchNoteTakingAppForNewNote(profile_, screenshot_path_);
+ content::RecordAction(base::UserMetricsAction("Screenshot_Annotate"));
+ }
break;
}
default:
« no previous file with comments | « no previous file | tools/metrics/actions/actions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698