Index: Source/core/platform/FileSystem.h |
diff --git a/Source/core/platform/FileSystem.h b/Source/core/platform/FileSystem.h |
index 9af0ecaa68fa7d4155f959c5f6fd9bef1996aa3f..0d96833fa8dcbec52c64bc7913638eebc35d7f7f 100644 |
--- a/Source/core/platform/FileSystem.h |
+++ b/Source/core/platform/FileSystem.h |
@@ -38,18 +38,6 @@ |
namespace WebCore { |
-#if OS(WINDOWS) |
-typedef void *HANDLE; |
-typedef HANDLE PlatformFileHandle; |
-#else |
-typedef int PlatformFileHandle; |
-#endif |
- |
-enum FileOpenMode { |
- OpenForRead = 0, |
- OpenForWrite |
-}; |
- |
struct FileMetadata; |
bool getFileSize(const String&, long long& result); |
@@ -60,12 +48,6 @@ String directoryName(const String&); |
inline double invalidFileTime() { return std::numeric_limits<double>::quiet_NaN(); } |
inline bool isValidFileTime(double time) { return std::isfinite(time); } |
-// FIXME: Only used by test code, move them into WebUnitTestSupport. |
-PlatformFileHandle openFile(const String& path, FileOpenMode); |
-void closeFile(PlatformFileHandle&); |
-// Returns number of bytes actually written if successful, -1 otherwise. |
-int readFromFile(PlatformFileHandle, char* data, int length); |
- |
} // namespace WebCore |
#endif // FileSystem_h |