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

Unified Diff: ash/common/system/chromeos/screen_security/screen_tray_item.h

Issue 2132773002: Added UMA metrics for screen capture UI in the status area. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into uma_screen_capture Created 4 years, 5 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
Index: ash/common/system/chromeos/screen_security/screen_tray_item.h
diff --git a/ash/common/system/chromeos/screen_security/screen_tray_item.h b/ash/common/system/chromeos/screen_security/screen_tray_item.h
index b670afb256a20306c0004c60a3f9600be502554d..817e65af09ce648bbcf290ab12b7675ec90c93b2 100644
--- a/ash/common/system/chromeos/screen_security/screen_tray_item.h
+++ b/ash/common/system/chromeos/screen_security/screen_tray_item.h
@@ -117,6 +117,12 @@ class ASH_EXPORT ScreenTrayItem : public SystemTrayItem {
// Returns the id of the notification for the tray item.
virtual std::string GetNotificationId() = 0;
+ // Called after Stop() is invoked from the default view.
+ virtual void RecordStoppedFromDefaultViewMetric() = 0;
+
+ // Called after Stop() is invoked from the notification view.
+ virtual void RecordStoppedFromNotificationViewMetric() = 0;
+
// Overridden from SystemTrayItem.
views::View* CreateTrayView(LoginStatus status) override = 0;
views::View* CreateDefaultView(LoginStatus status) override = 0;

Powered by Google App Engine
This is Rietveld 408576698