chromium/chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_persister_unittest.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_persister.h"

#include <sstream>
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/task/bind_post_task.h"
#include "base/task/thread_pool.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/threading/sequence_bound.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace safe_browsing {

namespace {

WriteReportTrigger;

}  // namespace

class ExtensionTelemetryPersisterTest : public ::testing::Test {};

ExtensionTelemetryPersisterTest::ExtensionTelemetryPersisterTest()
    :{}

TEST_F(ExtensionTelemetryPersisterTest, WriteReadCheck) {}

TEST_F(ExtensionTelemetryPersisterTest, WritePastFullCacheCheck) {}

TEST_F(ExtensionTelemetryPersisterTest, ReadFullCache) {}

TEST_F(ExtensionTelemetryPersisterTest, MultiProfile) {}

TEST_F(ExtensionTelemetryPersisterTest, VerifyWriteResultHistograms) {}

}  // namespace safe_browsing