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

// Copyright 2023 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/tabs_api_signal_processor.h"

#include <array>

#include "chrome/browser/safe_browsing/extension_telemetry/extension_js_callstacks.h"
#include "chrome/browser/safe_browsing/extension_telemetry/tabs_api_signal.h"
#include "components/safe_browsing/core/common/proto/csd.pb.h"
#include "extensions/common/extension_id.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace safe_browsing {

namespace {

SignalInfo;
CallDetails;

constexpr const char* kExtensionIds[] =;
constexpr auto kApiMethods =;
constexpr const char* kUrls[] =;

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

TEST_F(TabsApiSignalProcessorTest, EmptyProcessorWithNoData) {}

TEST_F(TabsApiSignalProcessorTest, IgnoresInvalidSignal) {}

TEST_F(TabsApiSignalProcessorTest, StoresDataAfterProcessingSignal) {}

TEST_F(TabsApiSignalProcessorTest,
       ReportsSignalInfoCorrectlyWithMultipleUniqueCallDetails) {}

TEST_F(TabsApiSignalProcessorTest, EnforcesMaxUniqueCallDetails) {}

TEST_F(TabsApiSignalProcessorTest, IncludesJSCallStacksInSignalInfo) {}

}  // namespace

}  // namespace safe_browsing