#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_BINDINGS_SOURCE_LOCATION_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_BINDINGS_SOURCE_LOCATION_H_
#include <memory>
#include "third_party/blink/renderer/platform/platform_export.h"
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
#include "third_party/blink/renderer/platform/wtf/forward.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "v8/include/v8-inspector.h"
namespace perfetto::protos::pbzero {
class BlinkSourceLocation;
}
namespace blink {
class ExecutionContext;
class TracedValue;
class PLATFORM_EXPORT SourceLocation { … };
PLATFORM_EXPORT std::unique_ptr<SourceLocation> CaptureSourceLocation(
const String& url,
unsigned line_number,
unsigned column_number);
PLATFORM_EXPORT std::unique_ptr<SourceLocation> CaptureSourceLocation();
PLATFORM_EXPORT std::unique_ptr<SourceLocation> CaptureSourceLocation(
v8::Isolate* isolate,
v8::Local<v8::Function>);
}
#endif