#include "chrome/browser/notifications/scheduler/internal/stats.h"
#include "base/test/metrics/histogram_tester.h"
#include "chrome/browser/notifications/scheduler/public/notification_data.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace notifications {
namespace stats {
namespace {
void TestLogUserAction(const UserActionData& user_action_data,
ActionButtonEvent action_button_event) { … }
void TestNotificationShow(const NotificationData& notification_data,
SchedulerClientType client_type,
bool expect_ihnr_histogram,
bool expect_life_cycle_histogram) { … }
TEST(NotificationSchedulerStatsTest, LogUserActionIhnrButton) { … }
TEST(NotificationSchedulerStatsTest, LogNotificationShow) { … }
}
}
}