diff options
Diffstat (limited to 'chromium/components/metrics/gpu/gpu_metrics_provider.h')
-rw-r--r-- | chromium/components/metrics/gpu/gpu_metrics_provider.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/chromium/components/metrics/gpu/gpu_metrics_provider.h b/chromium/components/metrics/gpu/gpu_metrics_provider.h new file mode 100644 index 00000000000..581c7651ce6 --- /dev/null +++ b/chromium/components/metrics/gpu/gpu_metrics_provider.h @@ -0,0 +1,29 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef COMPONENTS_METRICS_GPU_GPU_METRICS_PROVIDER_H_ +#define COMPONENTS_METRICS_GPU_GPU_METRICS_PROVIDER_H_ + +#include "base/macros.h" +#include "components/metrics/metrics_provider.h" + +namespace metrics { + +// GPUMetricsProvider provides GPU-related metrics. +class GPUMetricsProvider : public MetricsProvider { + public: + GPUMetricsProvider(); + ~GPUMetricsProvider() override; + + // MetricsProvider: + void ProvideSystemProfileMetrics( + SystemProfileProto* system_profile_proto) override; + + private: + DISALLOW_COPY_AND_ASSIGN(GPUMetricsProvider); +}; + +} // namespace metrics + +#endif // COMPONENTS_METRICS_GPU_GPU_METRICS_PROVIDER_H_ |