#include "chrome/browser/safe_browsing/extension_telemetry/tabs_execute_script_signal_processor.h"
#include <array>
#include "chrome/browser/safe_browsing/extension_telemetry/tabs_execute_script_signal.h"
#include "components/safe_browsing/core/common/proto/csd.pb.h"
#include "crypto/sha2.h"
#include "extensions/common/extension_id.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace safe_browsing {
namespace {
SignalInfo;
TabsExecuteScriptInfo;
ScriptInfo;
constexpr auto kExtensionId = …;
struct ScriptData { … };
class TabsExecuteScriptSignalProcessorTest : public ::testing::Test { … };
TEST_F(TabsExecuteScriptSignalProcessorTest, NoDataPresentInitially) { … }
TEST_F(TabsExecuteScriptSignalProcessorTest, StoresDataAfterProcessingSignal) { … }
TEST_F(TabsExecuteScriptSignalProcessorTest, ReportsSignalInfoCorrectly) { … }
TEST_F(TabsExecuteScriptSignalProcessorTest, EnforcesMaxScriptHashesLimit) { … }
}
}