| Index: ppapi/tests/test_file_mapping.h
|
| diff --git a/ppapi/tests/test_file_mapping.h b/ppapi/tests/test_file_mapping.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c2d2b7e91f10f013f3ed0c18ff6812267a5f3e28
|
| --- /dev/null
|
| +++ b/ppapi/tests/test_file_mapping.h
|
| @@ -0,0 +1,33 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef PAPPI_TESTS_TEST_FILE_MAPPING_H_
|
| +#define PAPPI_TESTS_TEST_FILE_MAPPING_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "ppapi/tests/test_case.h"
|
| +
|
| +struct PPB_FileMapping_0_1;
|
| +
|
| +class TestFileMapping : public TestCase {
|
| + public:
|
| + explicit TestFileMapping(TestingInstance* instance)
|
| + : TestCase(instance),
|
| + file_mapping_if_(NULL) {
|
| + }
|
| + virtual ~TestFileMapping() {}
|
| +
|
| + private:
|
| + // TestCase implementation.
|
| + virtual bool Init();
|
| + virtual void RunTests(const std::string& filter);
|
| +
|
| + std::string TestMap();
|
| +
|
| + // TODO(dmichael): Use unversioned struct when it goes stable.
|
| + const PPB_FileMapping_0_1* file_mapping_if_;
|
| +};
|
| +
|
| +#endif // PAPPI_TESTS_TEST_FILE_MAPPING_H_
|
|
|