chromium/cc/tiles/frame_viewer_instrumentation.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.

#include "cc/tiles/frame_viewer_instrumentation.h"

#include <memory>
#include <utility>

#include "components/viz/common/traced_value.h"

namespace cc {
namespace frame_viewer_instrumentation {

namespace {

constexpr const char kCategory[] =);
const char kTileData[] =;
const char kLayerId[] =;
const char kTileId[] =;
const char kTileResolution[] =;
const char kSourceFrameNumber[] =;

const char kAnalyzeTask[] =;
const char kRasterTask[] =;

std::unique_ptr<base::trace_event::ConvertableToTraceFormat> TileDataAsValue(
    const void* tile_id,
    TileResolution tile_resolution,
    int source_frame_number,
    int layer_id) {}

}  // namespace

ScopedAnalyzeTask::ScopedAnalyzeTask(const void* tile_id,
                                     TileResolution tile_resolution,
                                     int source_frame_number,
                                     int layer_id) {}

ScopedAnalyzeTask::~ScopedAnalyzeTask() {}

ScopedRasterTask::ScopedRasterTask(const void* tile_id,
                                   TileResolution tile_resolution,
                                   int source_frame_number,
                                   int layer_id) {}

ScopedRasterTask::~ScopedRasterTask() {}

bool IsTracingLayerTreeSnapshots() {}

}  // namespace frame_viewer_instrumentation
}  // namespace cc