chromium/services/viz/public/cpp/gpu/command_buffer_metrics.cc

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

#include "services/viz/public/cpp/gpu/command_buffer_metrics.h"

#include "base/metrics/histogram_macros.h"
#include "components/viz/common/gpu/context_lost_reason.h"

namespace viz {
namespace command_buffer_metrics {

namespace {

void RecordContextLost(ContextType type, ContextLostReason reason) {}

}  // anonymous namespace

std::string ContextTypeToString(ContextType type) {}

void UmaRecordContextInitFailed(ContextType type) {}

void UmaRecordContextLost(ContextType type,
                          gpu::error::Error error,
                          gpu::error::ContextLostReason reason) {}

}  // namespace command_buffer_metrics
}  // namespace viz