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