Make certificate viewer a tab-modal dialog.
[chromium-blink-merge.git] / ppapi / tests / test_directory_reader.h
blobee446c5133aa442034d1a64130e6a3ddc0bea175
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.
5 #ifndef PAPPI_TESTS_TEST_DIRECTORY_READER_H_
6 #define PAPPI_TESTS_TEST_DIRECTORY_READER_H_
8 #include <string>
10 #include "ppapi/tests/test_case.h"
12 namespace pp {
13 class FileRef;
16 class TestDirectoryReader : public TestCase {
17 public:
18 explicit TestDirectoryReader(TestingInstance* instance)
19 : TestCase(instance) {}
21 // TestCase implementation.
22 virtual bool Init();
23 virtual void RunTests(const std::string& filter);
25 private:
26 int32_t DeleteDirectoryRecursively(pp::FileRef*);
28 std::string TestReadEntries();
31 #endif // PAPPI_TESTS_TEST_DIRECTORY_READER_H_