| 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 THIRD_PARTY_MOJO_SRC_MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ | 5 #ifndef MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ |
| 6 #define THIRD_PARTY_MOJO_SRC_MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ | 6 #define 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 edk { |
| 14 namespace test { | 15 namespace test { |
| 15 | 16 |
| 16 class TestSupportImpl : public TestSupport { | 17 class TestSupportImpl : public mojo::test::TestSupport { |
| 17 public: | 18 public: |
| 18 TestSupportImpl(); | 19 TestSupportImpl(); |
| 19 ~TestSupportImpl() override; | 20 ~TestSupportImpl() override; |
| 20 | 21 |
| 21 void LogPerfResult(const char* test_name, | 22 void LogPerfResult(const char* test_name, |
| 22 const char* sub_test_name, | 23 const char* sub_test_name, |
| 23 double value, | 24 double value, |
| 24 const char* units) override; | 25 const char* units) override; |
| 25 FILE* OpenSourceRootRelativeFile(const char* relative_path) override; | 26 FILE* OpenSourceRootRelativeFile(const char* relative_path) override; |
| 26 char** EnumerateSourceRootRelativeDirectory( | 27 char** EnumerateSourceRootRelativeDirectory( |
| 27 const char* relative_path) override; | 28 const char* relative_path) override; |
| 28 | 29 |
| 29 private: | 30 private: |
| 30 MOJO_DISALLOW_COPY_AND_ASSIGN(TestSupportImpl); | 31 MOJO_DISALLOW_COPY_AND_ASSIGN(TestSupportImpl); |
| 31 }; | 32 }; |
| 32 | 33 |
| 33 } // namespace test | 34 } // namespace test |
| 35 } // namespace edk |
| 34 } // namespace mojo | 36 } // namespace mojo |
| 35 | 37 |
| 36 #endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ | 38 #endif // MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ |
| OLD | NEW |