chromium/cc/base/devtools_instrumentation.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 "cc/base/devtools_instrumentation.h"

#include <string>

namespace cc {
namespace devtools_instrumentation {
namespace {

void RecordMicrosecondTimesUmaByDecodeType(
    const std::string& metric_prefix,
    base::TimeDelta duration,
    base::TimeDelta min,
    base::TimeDelta max,
    uint32_t bucket_count,
    ScopedImageDecodeTask::DecodeType decode_type_) {}
}  // namespace

namespace internal {
constexpr const char CategoryName::CategoryName::kTimeline[];
constexpr const char CategoryName::CategoryName::kTimelineFrame[];
const char kData[] =;
const char kFrameId[] =;
const char kLayerId[] =;
const char kLayerTreeId[] =;
const char kPixelRefId[] =;
const char kFrameSequenceNumber[] =;
const char kHasPartialUpdate[] =;

const char kImageUploadTask[] =;
const char kImageDecodeTask[] =;
const char kBeginFrame[] =;
const char kNeedsBeginFrameChanged[] =;
const char kActivateLayerTree[] =;
const char kRequestMainThreadFrame[] =;
const char kDroppedFrame[] =;
const char kBeginMainThreadFrame[] =;
const char kDrawFrame[] =;
const char kCommit[] =;
}  // namespace internal

const char kPaintSetup[] =;
const char kUpdateLayer[] =;

ScopedImageUploadTask::ScopedImageUploadTask(const void* image_ptr,
                                             ImageType image_type)
    :{}

ScopedImageUploadTask::~ScopedImageUploadTask() {}

ScopedImageDecodeTask::ScopedImageDecodeTask(const void* image_ptr,
                                             DecodeType decode_type,
                                             TaskType task_type,
                                             ImageType image_type)
    :{}

ScopedImageDecodeTask::~ScopedImageDecodeTask() {}

}  // namespace devtools_instrumentation
}  // namespace cc