#include "chrome/browser/notifications/metrics/notification_metrics_logger.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/metrics/user_action_tester.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/base/testing_profile_manager.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "content/public/common/persistent_notification_status.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/notifications/notification.mojom.h"
class NotificationMetricsLoggerTest : public ::testing::Test { … };
TEST_F(NotificationMetricsLoggerTest, PersistentNotificationShown) { … }
TEST_F(NotificationMetricsLoggerTest, PersistentNotificationClosedByUser) { … }
TEST_F(NotificationMetricsLoggerTest,
PersistentNotificationClosedProgrammatically) { … }
TEST_F(NotificationMetricsLoggerTest, PersistentNotificationClick) { … }
TEST_F(NotificationMetricsLoggerTest, PersistentNotificationClickNoPermission) { … }
TEST_F(NotificationMetricsLoggerTest, PersistentNotificationAction) { … }
TEST_F(NotificationMetricsLoggerTest, PersistentNotificationSize) { … }