OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ | 5 #ifndef MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ |
6 #define MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ | 6 #define MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/public/tests/test_support_private.h" | 9 #include "mojo/public/tests/test_support_private.h" |
10 | 10 |
11 namespace mojo { | 11 namespace mojo { |
12 namespace test { | 12 namespace test { |
13 | 13 |
14 class TestSupportImpl : public TestSupport { | 14 class TestSupportImpl : public TestSupport { |
15 public: | 15 public: |
16 TestSupportImpl(); | 16 TestSupportImpl(); |
17 ~TestSupportImpl() override; | 17 ~TestSupportImpl() override; |
18 | 18 |
19 void LogPerfResult(const char* test_name, | 19 void LogPerfResult(const char* test_name, |
| 20 const char* sub_test_name, |
20 double value, | 21 double value, |
21 const char* units) override; | 22 const char* units) override; |
22 FILE* OpenSourceRootRelativeFile(const char* relative_path) override; | 23 FILE* OpenSourceRootRelativeFile(const char* relative_path) override; |
23 char** EnumerateSourceRootRelativeDirectory( | 24 char** EnumerateSourceRootRelativeDirectory( |
24 const char* relative_path) override; | 25 const char* relative_path) override; |
25 | 26 |
26 private: | 27 private: |
27 DISALLOW_COPY_AND_ASSIGN(TestSupportImpl); | 28 DISALLOW_COPY_AND_ASSIGN(TestSupportImpl); |
28 }; | 29 }; |
29 | 30 |
30 } // namespace test | 31 } // namespace test |
31 } // namespace mojo | 32 } // namespace mojo |
32 | 33 |
33 #endif // MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ | 34 #endif // MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ |
OLD | NEW |