#include "third_party/blink/renderer/core/inspector/console_message.h"
#include <memory>
#include <utility>
#include "third_party/blink/public/web/web_console_message.h"
#include "third_party/blink/renderer/core/dom/node.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/inspector/identifiers_factory.h"
#include "third_party/blink/renderer/core/workers/worker_thread.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
namespace blink {
ConsoleMessage::ConsoleMessage(mojom::blink::ConsoleMessageSource source,
mojom::blink::ConsoleMessageLevel level,
const String& message,
const String& url,
DocumentLoader* loader,
uint64_t request_identifier)
: … { … }
ConsoleMessage::ConsoleMessage(mojom::blink::ConsoleMessageLevel level,
const String& message,
std::unique_ptr<SourceLocation> location,
WorkerThread* worker_thread)
: … { … }
ConsoleMessage::ConsoleMessage(const WebConsoleMessage& message,
LocalFrame* local_frame)
: … { … }
ConsoleMessage::ConsoleMessage(mojom::blink::ConsoleMessageSource source,
mojom::blink::ConsoleMessageLevel level,
const String& message,
std::unique_ptr<SourceLocation> location)
: … { … }
ConsoleMessage::~ConsoleMessage() = default;
SourceLocation* ConsoleMessage::Location() const { … }
const String& ConsoleMessage::RequestIdentifier() const { … }
double ConsoleMessage::Timestamp() const { … }
ConsoleMessage::Source ConsoleMessage::GetSource() const { … }
ConsoleMessage::Level ConsoleMessage::GetLevel() const { … }
const String& ConsoleMessage::Message() const { … }
const String& ConsoleMessage::WorkerId() const { … }
LocalFrame* ConsoleMessage::Frame() const { … }
Vector<DOMNodeId>& ConsoleMessage::Nodes() { … }
void ConsoleMessage::SetNodes(LocalFrame* frame, Vector<DOMNodeId> nodes) { … }
const std::optional<mojom::blink::ConsoleMessageCategory>&
ConsoleMessage::Category() const { … }
void ConsoleMessage::SetCategory(
mojom::blink::ConsoleMessageCategory category) { … }
void ConsoleMessage::Trace(Visitor* visitor) const { … }
}