OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "build/build_config.h" |
5 #include "chrome/browser/metrics/time_ticks_experiment_win.h" | 6 #include "chrome/browser/metrics/time_ticks_experiment_win.h" |
6 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
7 | 8 |
8 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
9 | 10 |
10 namespace chrome { | 11 namespace chrome { |
11 namespace { | 12 namespace { |
12 | 13 |
13 // Makes sure the test runs. Mostly so we don't break by using illegal functions | 14 // Makes sure the test runs. Mostly so we don't break by using illegal functions |
14 // on older versions of Windows. The results vary depending on the host | 15 // on older versions of Windows. The results vary depending on the host |
15 // machine's capabilities, so it'd be hard to write proper expectations. | 16 // machine's capabilities, so it'd be hard to write proper expectations. |
16 TEST(TimeTicksExperimentTest, RunTimeTicksExperiment) { | 17 TEST(TimeTicksExperimentTest, RunTimeTicksExperiment) { |
17 CollectTimeTicksStats(); | 18 CollectTimeTicksStats(); |
18 } | 19 } |
19 | 20 |
20 } // anonymous namespace | 21 } // anonymous namespace |
21 } // namespace chrome_browser_metrics | 22 } // namespace chrome_browser_metrics |
22 | 23 |
23 #endif // defined(OS_WIN) | 24 #endif // defined(OS_WIN) |
OLD | NEW |