chromium/components/safe_browsing/content/browser/download/download_stats_unittest.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// The below constants are based on download_file_types.asciipb.
const int kExeFileTypeUmaValue =;
const int kApkFileTypeUmaValue =;

}  // namespace

namespace safe_browsing {

TEST(SafeBrowsingDownloadStatsTest, RecordDangerousDownloadWarningShown) {}

TEST(SafeBrowsingDownloadStatsTest, RecordDangerousDownloadWarningBypassed) {}

TEST(SafeBrowsingDownloadStatsTest, RecordDownloadOpened) {}

TEST(SafeBrowsingDownloadStatsTest, RecordDownloadFileTypeAttributes) {}

}  // namespace safe_browsing