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

Unified Diff: chrome/browser/metrics/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
Index: chrome/browser/metrics/gpu_metrics_provider.h
diff --git a/chrome/browser/metrics/gpu_metrics_provider.h b/chrome/browser/metrics/gpu_metrics_provider.h
deleted file mode 100644
index 2c3a3f010aaf5b0ac83180d2e5e965c1f1238223..0000000000000000000000000000000000000000
--- a/chrome/browser/metrics/gpu_metrics_provider.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// 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 CHROME_BROWSER_METRICS_GPU_METRICS_PROVIDER_H_
-#define CHROME_BROWSER_METRICS_GPU_METRICS_PROVIDER_H_
-
-#include "base/basictypes.h"
-#include "components/metrics/metrics_provider.h"
-#include "ui/gfx/size.h"
-
-// GPUMetricsProvider provides GPU-related metrics.
-class GPUMetricsProvider : public metrics::MetricsProvider {
- public:
- GPUMetricsProvider();
- virtual ~GPUMetricsProvider();
-
- // metrics::MetricsProvider:
- virtual void ProvideSystemProfileMetrics(
- metrics::SystemProfileProto* system_profile_proto) OVERRIDE;
-
- protected:
- // Exposed for the sake of mocking in test code.
-
- // Returns the screen size for the primary monitor.
- virtual gfx::Size GetScreenSize() const;
-
- // Returns the device scale factor for the primary monitor.
- virtual float GetScreenDeviceScaleFactor() const;
-
- // Returns the number of monitors the user is using.
- virtual int GetScreenCount() const;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(GPUMetricsProvider);
-};
-
-#endif // CHROME_BROWSER_METRICS_GPU_METRICS_PROVIDER_H_
« no previous file with comments | « chrome/browser/metrics/chrome_metrics_service_client.cc ('k') | chrome/browser/metrics/gpu_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698