Steven Luong | ce5488f3 | 2024-09-30 18:11:23 | [diff] [blame] | 1 | // Copyright 2024 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CHROME_BROWSER_UI_TOASTS_TOAST_METRICS_H_ |
| 6 | #define CHROME_BROWSER_UI_TOASTS_TOAST_METRICS_H_ |
| 7 | |
| 8 | enum class ToastId; |
| 9 | |
| 10 | namespace toasts { |
| 11 | enum class ToastCloseReason; |
| 12 | } |
| 13 | |
| 14 | void RecordToastTriggeredToShow(ToastId toast_id); |
| 15 | |
| 16 | void RecordToastActionButtonClicked(ToastId toast_id); |
| 17 | |
| 18 | void RecordToastCloseButtonClicked(ToastId toast_id); |
| 19 | |
| 20 | void RecordToastDismissReason(ToastId toast_id, |
| 21 | toasts::ToastCloseReason close_reason); |
| 22 | |
| 23 | #endif // CHROME_BROWSER_UI_TOASTS_TOAST_METRICS_H_ |