#include "third_party/blink/renderer/core/frame/frame_console.h"
#include <memory>
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/inspector/console_message.h"
#include "third_party/blink/renderer/core/inspector/console_message_storage.h"
#include "third_party/blink/renderer/core/inspector/main_thread_debugger.h"
#include "third_party/blink/renderer/core/loader/document_loader.h"
#include "third_party/blink/renderer/core/page/chrome_client.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/platform/bindings/source_location.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_error.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_response.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
FrameConsole::FrameConsole(LocalFrame& frame) : … { … }
void FrameConsole::AddMessage(ConsoleMessage* console_message,
bool discard_duplicates) { … }
bool FrameConsole::AddMessageToStorage(ConsoleMessage* console_message,
bool discard_duplicates) { … }
void FrameConsole::ReportMessageToClient(
mojom::blink::ConsoleMessageSource source,
mojom::blink::ConsoleMessageLevel level,
const String& message,
SourceLocation* location) { … }
void FrameConsole::ReportResourceResponseReceived(
DocumentLoader* loader,
uint64_t request_identifier,
const ResourceResponse& response) { … }
void FrameConsole::DidFailLoading(DocumentLoader* loader,
uint64_t request_identifier,
const ResourceError& error) { … }
void FrameConsole::Trace(Visitor* visitor) const { … }
}