blob: a2a151a2140e17d243edad19e4e634efac802cab [file] [log] [blame]
Steven Luongce5488f32024-09-30 18:11:231// 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
8enum class ToastId;
9
10namespace toasts {
11enum class ToastCloseReason;
12}
13
14void RecordToastTriggeredToShow(ToastId toast_id);
15
16void RecordToastActionButtonClicked(ToastId toast_id);
17
18void RecordToastCloseButtonClicked(ToastId toast_id);
19
20void RecordToastDismissReason(ToastId toast_id,
21 toasts::ToastCloseReason close_reason);
22
23#endif // CHROME_BROWSER_UI_TOASTS_TOAST_METRICS_H_