chromium/third_party/blink/renderer/platform/graphics/paint/paint_controller_debug_data.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/platform/graphics/paint/paint_controller.h"

#include <cinttypes>
#include "base/logging.h"
#include "third_party/blink/renderer/platform/graphics/paint/drawing_display_item.h"

#if DCHECK_IS_ON()

namespace blink {

class PaintController::PaintArtifactAsJSON {};

std::unique_ptr<JSONObject>
PaintController::PaintArtifactAsJSON::SubsequenceAsJSONObjectRecursive() {}

std::unique_ptr<JSONArray>
PaintController::PaintArtifactAsJSON::ChunksAsJSONArrayRecursive(
    wtf_size_t start_chunk_index,
    wtf_size_t end_chunk_index) {}

String PaintController::DebugDataAsString(
    DisplayItemList::JsonOption option) const {}

void PaintController::ShowDebugDataInternal(
    DisplayItemList::JsonOption option) const {}

void PaintController::ShowCompactDebugData() const {}

void PaintController::ShowDebugData() const {}

void PaintController::ShowDebugDataWithPaintRecords() const {}

}  // namespace blink

#endif  // DCHECK_IS_ON()