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 |