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

Side by Side Diff: components/metrics/drive_metrics_provider_unittest.cc

Issue 1254983003: Componentize DriveMetricsProvider* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 5 years, 4 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 unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « components/metrics/drive_metrics_provider_mac.mm ('k') | components/metrics/drive_metrics_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698