OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/common/inter_process_time_ticks_converter.h" | 5 #include "content/common/inter_process_time_ticks_converter.h" |
6 | 6 |
7 #include "base/time.h" | 7 #include "base/time/time.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 using base::TimeTicks; | 10 using base::TimeTicks; |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
16 struct TestParams { | 16 struct TestParams { |
17 int64 local_lower_bound; | 17 int64 local_lower_bound; |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 p.test_time = 41; | 232 p.test_time = 41; |
233 p.test_delta = 0; | 233 p.test_delta = 0; |
234 TestResults results = RunTest(p); | 234 TestResults results = RunTest(p); |
235 EXPECT_EQ(20, results.result_time); | 235 EXPECT_EQ(20, results.result_time); |
236 EXPECT_EQ(0, results.result_delta); | 236 EXPECT_EQ(0, results.result_delta); |
237 } | 237 } |
238 | 238 |
239 } // anonymous namespace | 239 } // anonymous namespace |
240 | 240 |
241 } // namespace content | 241 } // namespace content |
OLD | NEW |