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

Unified Diff: ppapi/tests/test_file_ref.h

Issue 12817009: Add Query() support to FileRef (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Take ref on PPB_FileRef_Impl instead of PluginInstance. Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/tests/test_file_ref.h
diff --git a/ppapi/tests/test_file_ref.h b/ppapi/tests/test_file_ref.h
index 916ea3595cfdeab0e3d52d9a706102fa5e0bc641..97feaf174c68bbc00aa739d66916710b2e712316 100644
--- a/ppapi/tests/test_file_ref.h
+++ b/ppapi/tests/test_file_ref.h
@@ -9,6 +9,10 @@
#include "ppapi/tests/test_case.h"
+namespace pp {
+class FileRef;
+}
+
class TestFileRef : public TestCase {
public:
explicit TestFileRef(TestingInstance* instance) : TestCase(instance) {}
@@ -18,6 +22,10 @@ class TestFileRef : public TestCase {
virtual void RunTests(const std::string& filter);
private:
+ // Creates a FileRef on an external filesystem.
+ // Returns "" on success, a different string otherwise.
+ std::string MakeExternalFileRef(pp::FileRef* file_ref_ext);
+
std::string TestCreate();
std::string TestGetFileSystemType();
std::string TestGetName();
@@ -27,6 +35,7 @@ class TestFileRef : public TestCase {
std::string TestQueryAndTouchFile();
std::string TestDeleteFileAndDirectory();
std::string TestRenameFileAndDirectory();
+ std::string TestQuery();
std::string TestFileNameEscaping();
};

Powered by Google App Engine
This is Rietveld 408576698