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; |