OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/metrics/drive_metrics_provider.h" | 5 #include "components/metrics/drive_metrics_provider.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 | 10 |
| 11 namespace metrics { |
| 12 |
11 TEST(DriveMetricsProviderTest, HasSeekPenalty) { | 13 TEST(DriveMetricsProviderTest, HasSeekPenalty) { |
12 base::FilePath tmp_path; | 14 base::FilePath tmp_path; |
13 ASSERT_TRUE(base::GetTempDir(&tmp_path)); | 15 ASSERT_TRUE(base::GetTempDir(&tmp_path)); |
14 bool unused; | 16 bool unused; |
15 DriveMetricsProvider::HasSeekPenalty(tmp_path, &unused); | 17 DriveMetricsProvider::HasSeekPenalty(tmp_path, &unused); |
16 } | 18 } |
| 19 |
| 20 } // namespace metrics |
OLD | NEW |