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

// Copyright 2024 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_js_callstacks.h"

#include "base/containers/span.h"
#include "base/debug/crash_logging.h"
#include "base/hash/sha1.h"
#include "base/strings/utf_string_conversions.h"

namespace {
constexpr unsigned int kMaxCallStacks =;
}

namespace safe_browsing {

ExtensionJSCallStacks::ExtensionJSCallStacks() = default;
ExtensionJSCallStacks::~ExtensionJSCallStacks() = default;
ExtensionJSCallStacks::ExtensionJSCallStacks(const ExtensionJSCallStacks& src) =
    default;

void ExtensionJSCallStacks::Add(const extensions::StackTrace& callstack) {}

RepeatedPtrField<SignalInfoJSCallStack> ExtensionJSCallStacks::GetAll() {}

// static
unsigned int ExtensionJSCallStacks::MaxCallStacks() {}

// static
SignalInfoJSCallStack ExtensionJSCallStacks::ToSignalInfoJSCallStack(
    const extensions::StackTrace& callstack) {}

// static
extensions::StackTrace ExtensionJSCallStacks::ToExtensionsStackTrace(
    const SignalInfoJSCallStack& siginfo_callstack) {}

// static
std::string ExtensionJSCallStacks::GetUniqueId(
    const SignalInfoJSCallStack& siginfo_callstack) {}

// Used for debug logging only.
// static
std::string ExtensionJSCallStacks::SignalInfoJSCallStackAsString(
    const SignalInfoJSCallStack& js_callstack) {}

}  // namespace safe_browsing