| 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 virtual ~TestSupportImpl(); | 17 virtual ~TestSupportImpl(); |
| 18 | 18 |
| 19 virtual void LogPerfResult(const char* test_name, | 19 virtual void LogPerfResult(const char* test_name, |
| 20 double value, | 20 double value, |
| 21 const char* units) override; | 21 const char* units) override; |
| 22 virtual FILE* OpenSourceRootRelativeFile(const char* relative_path) override; | 22 virtual FILE* OpenSourceRootRelativeFile(const char* relative_path) override; |
| 23 virtual char** EnumerateSourceRootRelativeDirectory(const char* relative_path) | 23 virtual char** EnumerateSourceRootRelativeDirectory( |
| 24 override; | 24 const char* relative_path) override; |
| 25 | 25 |
| 26 private: | 26 private: |
| 27 DISALLOW_COPY_AND_ASSIGN(TestSupportImpl); | 27 DISALLOW_COPY_AND_ASSIGN(TestSupportImpl); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 } // namespace test | 30 } // namespace test |
| 31 } // namespace mojo | 31 } // namespace mojo |
| 32 | 32 |
| 33 #endif // MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ | 33 #endif // MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ |
| OLD | NEW |