Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / mojo / edk / test / test_support_impl.h
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
3 // found in the LICENSE file.
4
5 #ifndef MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_
6 #define MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_
7
8 #include "base/macros.h"
9 #include "mojo/public/tests/test_support_private.h"
10
11 namespace mojo {
12 namespace test {
13
14 class TestSupportImpl : public TestSupport {
15  public:
16   TestSupportImpl();
17   ~TestSupportImpl() override;
18
19   void LogPerfResult(const char* test_name,
20                      double value,
21                      const char* units) override;
22   FILE* OpenSourceRootRelativeFile(const char* relative_path) override;
23   char** EnumerateSourceRootRelativeDirectory(
24       const char* relative_path) override;
25
26  private:
27   DISALLOW_COPY_AND_ASSIGN(TestSupportImpl);
28 };
29
30 }  // namespace test
31 }  // namespace mojo
32
33 #endif  // MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_