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

Unified Diff: components/metrics/gpu/gpu_metrics_provider_unittest.cc

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/gpu_metrics_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/gpu/gpu_metrics_provider_unittest.cc
diff --git a/chrome/browser/metrics/gpu_metrics_provider_unittest.cc b/components/metrics/gpu/gpu_metrics_provider_unittest.cc
similarity index 94%
rename from chrome/browser/metrics/gpu_metrics_provider_unittest.cc
rename to components/metrics/gpu/gpu_metrics_provider_unittest.cc
index 6c753ba1b8d2fe88528fed6dd559dd20b49cd8f2..1aea17aad7ab15b51572b2a4c0ba5ef35d576ee2 100644
--- a/chrome/browser/metrics/gpu_metrics_provider_unittest.cc
+++ b/components/metrics/gpu/gpu_metrics_provider_unittest.cc
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/metrics/gpu_metrics_provider.h"
+#include "components/metrics/gpu/gpu_metrics_provider.h"
#include "base/basictypes.h"
#include "components/metrics/proto/chrome_user_metrics_extension.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/size.h"
+namespace metrics {
+
namespace {
const int kScreenWidth = 1024;
@@ -62,3 +64,5 @@ TEST_F(GPUMetricsProviderTest, ProvideSystemProfileMetrics) {
EXPECT_EQ(kScreenScaleFactor, hardware.primary_screen_scale_factor());
EXPECT_EQ(kScreenCount, hardware.screen_count());
}
+
+} // namespace metrics
« no previous file with comments | « components/metrics/gpu/gpu_metrics_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698