Home | History | Annotate | Download | only in metrics
      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
      3 // found in the LICENSE file.
      4 
      5 #include "chrome/browser/metrics/time_ticks_experiment_win.h"
      6 #include "testing/gtest/include/gtest/gtest.h"
      7 
      8 #if defined(OS_WIN)
      9 
     10 namespace chrome {
     11 namespace {
     12 
     13 // 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 // machine's capabilities, so it'd be hard to write proper expectations.
     16 TEST(TimeTicksExperimentTest, RunTimeTicksExperiment) {
     17   CollectTimeTicksStats();
     18 }
     19 
     20 }  // anonymous namespace
     21 }  // namespace chrome_browser_metrics
     22 
     23 #endif  // defined(OS_WIN)
     24