#include "components/safe_browsing/content/browser/download/download_stats.h"
#include <optional>
#include "base/files/file_path.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/metrics/user_action_tester.h"
#include "components/download/public/common/download_stats.h"
#include "components/safe_browsing/content/common/file_type_policies.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
const int kExeFileTypeUmaValue = …;
const int kApkFileTypeUmaValue = …;
}
namespace safe_browsing {
TEST(SafeBrowsingDownloadStatsTest, RecordDangerousDownloadWarningShown) { … }
TEST(SafeBrowsingDownloadStatsTest, RecordDangerousDownloadWarningBypassed) { … }
TEST(SafeBrowsingDownloadStatsTest, RecordDownloadOpened) { … }
TEST(SafeBrowsingDownloadStatsTest, RecordDownloadFileTypeAttributes) { … }
}