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

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

Issue 10638007: Pepper Flash: Add trivial C++ wrappers for PPB_Flash_File_{ModuleLocal,FileRef}. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ffffuuuuuuuuuuuuuuuuuuuuuuuuuuu Created 8 years, 5 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/ppapi_sources.gypi ('k') | ppapi/tests/test_flash_file.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 PAPPI_TESTS_TEST_FLASH_FILE_H_ 5 #ifndef PAPPI_TESTS_TEST_FLASH_FILE_H_
6 #define PPAPI_TESTS_TEST_FLASH_FILE_H_ 6 #define PPAPI_TESTS_TEST_FLASH_FILE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/private/ppb_flash_file.h"
11 #include "ppapi/tests/test_case.h" 10 #include "ppapi/tests/test_case.h"
12 11
13 class TestFlashFile: public TestCase { 12 class TestFlashFile: public TestCase {
14 public: 13 public:
15 explicit TestFlashFile(TestingInstance* instance); 14 explicit TestFlashFile(TestingInstance* instance);
16 virtual ~TestFlashFile(); 15 virtual ~TestFlashFile();
17 16
18 // TestCase implementation. 17 // TestCase implementation.
19 virtual bool Init(); 18 virtual bool Init();
20 virtual void RunTests(const std::string& filter); 19 virtual void RunTests(const std::string& filter);
21 20
22 private: 21 private:
23 // TODO(yzshen): Add more test cases for PPB_Flash_File_ModuleLocal and 22 // TODO(yzshen): Add more test cases for PPB_Flash_File_ModuleLocal and
24 // PPB_Flash_File_FileRef. 23 // PPB_Flash_File_FileRef.
25 std::string TestCreateTemporaryFile(); 24 std::string TestCreateTemporaryFile();
26 25
27 // Gets the number of files and directories under the module-local root 26 // Gets the number of files and directories under the module-local root
28 // directory. 27 // directory.
29 std::string GetItemCountUnderModuleLocalRoot(int32_t* item_count); 28 std::string GetItemCountUnderModuleLocalRoot(size_t* item_count);
30
31 const PPB_Flash_File_ModuleLocal* module_local_interface_;
32 }; 29 };
33 30
34 #endif // PPAPI_TESTS_TEST_FLASH_FILE_H_ 31 #endif // PPAPI_TESTS_TEST_FLASH_FILE_H_
OLDNEW
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ppapi/tests/test_flash_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698