Chromium Code Reviews| Index: components/metrics/gpu/gpu_metrics_provider.h |
| diff --git a/chrome/browser/metrics/gpu_metrics_provider.h b/components/metrics/gpu/gpu_metrics_provider.h |
| similarity index 70% |
| rename from chrome/browser/metrics/gpu_metrics_provider.h |
| rename to components/metrics/gpu/gpu_metrics_provider.h |
| index 2c3a3f010aaf5b0ac83180d2e5e965c1f1238223..29d8e6e4f91a05a2b3eed947ae82a99715994124 100644 |
| --- a/chrome/browser/metrics/gpu_metrics_provider.h |
| +++ b/components/metrics/gpu/gpu_metrics_provider.h |
| @@ -2,22 +2,24 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CHROME_BROWSER_METRICS_GPU_METRICS_PROVIDER_H_ |
| -#define CHROME_BROWSER_METRICS_GPU_METRICS_PROVIDER_H_ |
| +#ifndef COMPONENTS_METRICS_GPU_GPU_METRICS_PROVIDER_H_ |
| +#define COMPONENTS_METRICS_GPU_GPU_METRICS_PROVIDER_H_ |
| #include "base/basictypes.h" |
| #include "components/metrics/metrics_provider.h" |
| #include "ui/gfx/size.h" |
| +namespace metrics { |
| + |
| // GPUMetricsProvider provides GPU-related metrics. |
| -class GPUMetricsProvider : public metrics::MetricsProvider { |
| +class GPUMetricsProvider : public MetricsProvider { |
| public: |
| GPUMetricsProvider(); |
| virtual ~GPUMetricsProvider(); |
| - // metrics::MetricsProvider: |
| + // MetricsProvider implementation: |
|
Ilya Sherman
2014/08/30 00:52:03
nit: Please omit " implementation" -- this is a co
gunsch
2014/08/30 15:17:27
Done---"[class] implementation:" seems a common st
|
| virtual void ProvideSystemProfileMetrics( |
| - metrics::SystemProfileProto* system_profile_proto) OVERRIDE; |
| + SystemProfileProto* system_profile_proto) OVERRIDE; |
| protected: |
| // Exposed for the sake of mocking in test code. |
| @@ -35,4 +37,6 @@ class GPUMetricsProvider : public metrics::MetricsProvider { |
| DISALLOW_COPY_AND_ASSIGN(GPUMetricsProvider); |
| }; |
| -#endif // CHROME_BROWSER_METRICS_GPU_METRICS_PROVIDER_H_ |
| +} // namespace metrics |
| + |
| +#endif // COMPONENTS_METRICS_GPU_GPU_METRICS_PROVIDER_H_ |