#include "third_party/blink/renderer/core/inspector/console_message_storage.h"
#include "base/notreached.h"
#include "base/trace_event/trace_event.h"
#include "third_party/blink/renderer/core/inspector/console_message.h"
#include "third_party/blink/renderer/core/probe/core_probes.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/traced_value.h"
namespace blink {
static const unsigned kMaxConsoleMessageCount = …;
namespace {
const char* MessageSourceToString(mojom::ConsoleMessageSource source) { … }
std::unique_ptr<TracedValue> MessageTracedValue(ConsoleMessage* message) { … }
void TraceConsoleMessageEvent(ConsoleMessage* message) { … }
}
ConsoleMessageStorage::ConsoleMessageStorage() : … { … }
bool ConsoleMessageStorage::AddConsoleMessage(ExecutionContext* context,
ConsoleMessage* message,
bool discard_duplicates) { … }
void ConsoleMessageStorage::Clear() { … }
wtf_size_t ConsoleMessageStorage::size() const { … }
ConsoleMessage* ConsoleMessageStorage::at(wtf_size_t index) const { … }
int ConsoleMessageStorage::ExpiredCount() const { … }
void ConsoleMessageStorage::Trace(Visitor* visitor) const { … }
}