Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: ppapi/tests/test_file_mapping.h

Issue 69663002: PPAPI: Implement PPB_FileMapping on POSIX (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix missing return Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/tests/all_c_includes.h ('k') | ppapi/tests/test_file_mapping.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 PAPPI_TESTS_TEST_FILE_MAPPING_H_
6 #define PAPPI_TESTS_TEST_FILE_MAPPING_H_
7
8 #include <string>
9
10 #include "ppapi/tests/test_case.h"
11
12 struct PPB_FileMapping_0_1;
13
14 class TestFileMapping : public TestCase {
15 public:
16 explicit TestFileMapping(TestingInstance* instance)
17 : TestCase(instance),
18 file_mapping_if_(NULL) {
19 }
20 virtual ~TestFileMapping() {}
21
22 private:
23 // TestCase implementation.
24 virtual bool Init();
25 virtual void RunTests(const std::string& filter);
26
27 std::string MapAndCheckResults(uint32_t prot, uint32_t flags);
28
29 std::string TestBadParameters();
30 std::string TestMap();
31 std::string TestPartialRegions();
32
33 // TODO(dmichael): Use unversioned struct when it goes stable.
34 const PPB_FileMapping_0_1* file_mapping_if_;
35 };
36
37 #endif // PAPPI_TESTS_TEST_FILE_MAPPING_H_
OLDNEW
« no previous file with comments | « ppapi/tests/all_c_includes.h ('k') | ppapi/tests/test_file_mapping.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698