chromium/components/crash/content/browser/error_reporting/javascript_error_report.h

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_CRASH_CONTENT_BROWSER_ERROR_REPORTING_JAVASCRIPT_ERROR_REPORT_H_
#define COMPONENTS_CRASH_CONTENT_BROWSER_ERROR_REPORTING_JAVASCRIPT_ERROR_REPORT_H_

#include <optional>
#include <string>

#include "base/component_export.h"

enum class WindowType {};

// A report about a JavaScript error that we might want to send back to Google
// so it can be fixed. Fill in the fields and then call
// JsErrorReportProcessor::SendErrorReport().
struct COMPONENT_EXPORT(JS_ERROR_REPORTING) JavaScriptErrorReport {};

#endif  // COMPONENTS_CRASH_CONTENT_BROWSER_ERROR_REPORTING_JAVASCRIPT_ERROR_REPORT_H_