// 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. #ifndef CHROME_BROWSER_SAFE_BROWSING_EXTENSION_TELEMETRY_EXTENSION_JS_CALLSTACKS_H_ #define CHROME_BROWSER_SAFE_BROWSING_EXTENSION_TELEMETRY_EXTENSION_JS_CALLSTACKS_H_ #include "base/containers/flat_map.h" #include "components/safe_browsing/core/common/proto/csd.pb.h" #include "extensions/common/stack_frame.h" namespace safe_browsing { RepeatedPtrField; SignalInfoJSCallStackFrame; SignalInfoJSCallStack; // This is a helper class used to store and retrieve JS callstacks // for extension API signals. A signal processor class, for e.g. // TabsApiSignalProcessor, includes this class as a member to store // callstacks for corresponding (for e.g, chrome.tabs) API calls. class ExtensionJSCallStacks { … }; } // namespace safe_browsing #endif // CHROME_BROWSER_SAFE_BROWSING_EXTENSION_TELEMETRY_EXTENSION_JS_CALLSTACKS_H_