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

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

Issue 10534045: Add CreateTemporaryFile to PPB_Flash_File_ModuleLocal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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/proxy/ppb_flash_proxy.cc ('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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PAPPI_TESTS_TEST_FLASH_FILE_H_
6 #define PPAPI_TESTS_TEST_FLASH_FILE_H_
7
8 #include <string>
9
10 #include "ppapi/c/private/ppb_flash_file.h"
11 #include "ppapi/tests/test_case.h"
12
13 class TestFlashFile: public TestCase {
14 public:
15 explicit TestFlashFile(TestingInstance* instance);
16 virtual ~TestFlashFile();
17
18 // TestCase implementation.
19 virtual bool Init();
20 virtual void RunTests(const std::string& filter);
21
22 private:
23 // TODO(yzshen): Add more test cases for PPB_Flash_File_ModuleLocal and
24 // PPB_Flash_File_FileRef.
25 std::string TestCreateTemporaryFile();
26
27 // Gets the number of files and directories under the module-local root
28 // directory.
29 std::string GetItemCountUnderModuleLocalRoot(int32_t* item_count);
30
31 const PPB_Flash_File_ModuleLocal* module_local_interface_;
32 };
33
34 #endif // PPAPI_TESTS_TEST_FLASH_FILE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | ppapi/tests/test_flash_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698