Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: components/metrics/gpu/gpu_metrics_provider.h

Issue 523273003: Moves GPUMetricsProvider to //components/metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/metrics/gpu/DEPS ('k') | components/metrics/gpu/gpu_metrics_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 71%
rename from chrome/browser/metrics/gpu_metrics_provider.h
rename to components/metrics/gpu/gpu_metrics_provider.h
index 2c3a3f010aaf5b0ac83180d2e5e965c1f1238223..d10db56f78483b20516983c108288ea6c62dda38 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:
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_
« no previous file with comments | « components/metrics/gpu/DEPS ('k') | components/metrics/gpu/gpu_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698