chromium/third_party/blink/renderer/core/inspector/inspector_log_agent.cc

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

#include "third_party/blink/renderer/core/inspector/inspector_log_agent.h"

#include "base/format_macros.h"
#include "third_party/blink/renderer/core/frame/performance_monitor.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/inspector_dom_agent.h"
#include "third_party/blink/renderer/core/inspector/resolve_node.h"
#include "third_party/blink/renderer/platform/bindings/script_forbidden_scope.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/wtf/text/wtf_string.h"

namespace blink {

namespace {

String MessageSourceValue(mojom::blink::ConsoleMessageSource source) {}

String MessageLevelValue(mojom::blink::ConsoleMessageLevel level) {}

String MessageCategoryValue(mojom::blink::ConsoleMessageCategory category) {}

}  // namespace

ViolationSetting;

InspectorLogAgent::InspectorLogAgent(
    ConsoleMessageStorage* storage,
    PerformanceMonitor* performance_monitor,
    v8_inspector::V8InspectorSession* v8_session)
    :{}

InspectorLogAgent::~InspectorLogAgent() = default;

void InspectorLogAgent::Trace(Visitor* visitor) const {}

void InspectorLogAgent::Restore() {}

void InspectorLogAgent::ConsoleMessageAdded(ConsoleMessage* message) {}

void InspectorLogAgent::InnerEnable() {}

protocol::Response InspectorLogAgent::enable() {}

protocol::Response InspectorLogAgent::disable() {}

protocol::Response InspectorLogAgent::clear() {}

static PerformanceMonitor::Violation ParseViolation(const String& name) {}

protocol::Response InspectorLogAgent::startViolationsReport(
    std::unique_ptr<protocol::Array<ViolationSetting>> settings) {}

protocol::Response InspectorLogAgent::stopViolationsReport() {}

void InspectorLogAgent::ReportLongLayout(base::TimeDelta duration) {}

void InspectorLogAgent::ReportGenericViolation(PerformanceMonitor::Violation,
                                               const String& text,
                                               base::TimeDelta time,
                                               SourceLocation* location) {}

}  // namespace blink