Move GetProcessIntegrityLevel to file_info.h and remove the handle argument.
[chromium-blink-merge.git] / ppapi / tests / test_flash_file.h
blobfd62dd6225c1de689e836e7998340c33f03fa1b7
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.
5 #ifndef PPAPI_TESTS_TEST_FLASH_FILE_H_
6 #define PPAPI_TESTS_TEST_FLASH_FILE_H_
8 #include <string>
10 #include "ppapi/tests/test_case.h"
12 class TestFlashFile: public TestCase {
13 public:
14 explicit TestFlashFile(TestingInstance* instance);
15 virtual ~TestFlashFile();
17 // TestCase implementation.
18 virtual bool Init();
19 virtual void RunTests(const std::string& filter);
21 private:
22 // TODO(raymes): We should have SetUp/TearDown methods for ppapi tests.
23 void SetUp();
25 std::string TestOpenFile();
26 std::string TestRenameFile();
27 std::string TestDeleteFileOrDir();
28 std::string TestCreateDir();
29 std::string TestQueryFile();
30 std::string TestGetDirContents();
31 std::string TestCreateTemporaryFile();
33 // TODO(raymes): Add these when we can test file chooser properly.
34 // std::string TestOpenFileRef();
35 // std::string TestQueryFileRef();
37 // Gets the number of files and directories under the module-local root
38 // directory.
39 std::string GetItemCountUnderModuleLocalRoot(size_t* item_count);
42 #endif // PPAPI_TESTS_TEST_FLASH_FILE_H_