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

// Copyright 2023 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_event_breakpoints_agent.h"

#include "third_party/blink/renderer/core/inspector/protocol/debugger.h"
#include "third_party/blink/renderer/core/inspector/v8_inspector_string.h"
#include "third_party/blink/renderer/core/probe/core_probes.h"
#include "third_party/inspector_protocol/crdtp/json.h"

namespace blink {

constexpr char kInstrumentationEventCategoryType[] =;

constexpr char kWebglErrorNameProperty[] =;

namespace event_names {

constexpr char kWebglErrorFired[] =;
constexpr char kWebglWarningFired[] =;
constexpr char kScriptBlockedByCSP[] =;
constexpr char kAudioContextCreated[] =;
constexpr char kAudioContextClosed[] =;
constexpr char kAudioContextResumed[] =;
constexpr char kAudioContextSuspended[] =;
constexpr char kCanvasContextCreated[] =;
constexpr char kScriptFirstStatement[] =;
constexpr char kSharedStorageWorkletScriptFirstStatement[] =;

}  // namespace event_names

Response;

InspectorEventBreakpointsAgent::InspectorEventBreakpointsAgent(
    v8_inspector::V8InspectorSession* v8_session)
    :{}

InspectorEventBreakpointsAgent::~InspectorEventBreakpointsAgent() = default;

void InspectorEventBreakpointsAgent::DidCreateOffscreenCanvasContext() {}

void InspectorEventBreakpointsAgent::DidCreateCanvasContext() {}

void InspectorEventBreakpointsAgent::DidFireWebGLError(
    const String& error_name) {}

void InspectorEventBreakpointsAgent::DidFireWebGLWarning() {}

void InspectorEventBreakpointsAgent::DidFireWebGLErrorOrWarning(
    const String& message) {}

void InspectorEventBreakpointsAgent::ScriptExecutionBlockedByCSP(
    const String& directive_text) {}

void InspectorEventBreakpointsAgent::Will(const probe::ExecuteScript& probe) {}

void InspectorEventBreakpointsAgent::Did(const probe::ExecuteScript& probe) {}

void InspectorEventBreakpointsAgent::Will(const probe::UserCallback& probe) {}

void InspectorEventBreakpointsAgent::Did(const probe::UserCallback& probe) {}

void InspectorEventBreakpointsAgent::BreakableLocation(const char* name) {}

void InspectorEventBreakpointsAgent::DidCreateAudioContext() {}

void InspectorEventBreakpointsAgent::DidCloseAudioContext() {}

void InspectorEventBreakpointsAgent::DidResumeAudioContext() {}

void InspectorEventBreakpointsAgent::DidSuspendAudioContext() {}

Response InspectorEventBreakpointsAgent::disable() {}

void InspectorEventBreakpointsAgent::Restore() {}

Response InspectorEventBreakpointsAgent::setInstrumentationBreakpoint(
    const String& event_name) {}

Response InspectorEventBreakpointsAgent::removeInstrumentationBreakpoint(
    const String& event_name) {}

bool InspectorEventBreakpointsAgent::IsEnabled() const {}

std::unique_ptr<protocol::DictionaryValue>
InspectorEventBreakpointsAgent::MaybeBuildBreakpointData(
    const String& event_name) {}

namespace {

std::vector<uint8_t> JsonFromDictionary(const protocol::DictionaryValue& dict) {}

}  // namespace

void InspectorEventBreakpointsAgent::TriggerSyncBreakpoint(
    const protocol::DictionaryValue& breakpoint_data) {}

void InspectorEventBreakpointsAgent::ScheduleAsyncBreakpoint(
    const protocol::DictionaryValue& breakpoint_data) {}

void InspectorEventBreakpointsAgent::UnscheduleAsyncBreakpoint() {}

}  // namespace blink