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

Unified Diff: Source/core/platform/chromium/FileSystemChromium.cpp

Issue 22645008: Add WebKitUnitTestSupport::readFromFile and deprecate all PlatformFileHandle related methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« no previous file with comments | « Source/core/platform/FileSystem.h ('k') | Source/core/platform/image-decoders/gif/GIFImageDecoderTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/chromium/FileSystemChromium.cpp
diff --git a/Source/core/platform/chromium/FileSystemChromium.cpp b/Source/core/platform/chromium/FileSystemChromium.cpp
index 2e2ff68f883123c9a1f98251c32b88707136a8a3..e3d1853cef82cf4dfab98c41fb305357e0577a57 100644
--- a/Source/core/platform/chromium/FileSystemChromium.cpp
+++ b/Source/core/platform/chromium/FileSystemChromium.cpp
@@ -75,19 +75,4 @@ String directoryName(const String& path)
return WebKit::Platform::current()->fileUtilities()->directoryName(path);
}
-PlatformFileHandle openFile(const String& path, FileOpenMode mode)
-{
- return WebKit::Platform::current()->fileUtilities()->openFile(path, mode);
-}
-
-void closeFile(PlatformFileHandle& handle)
-{
- WebKit::Platform::current()->fileUtilities()->closeFile(handle);
-}
-
-int readFromFile(PlatformFileHandle handle, char* data, int length)
-{
- return WebKit::Platform::current()->fileUtilities()->readFromFile(handle, data, length);
-}
-
} // namespace WebCore
« no previous file with comments | « Source/core/platform/FileSystem.h ('k') | Source/core/platform/image-decoders/gif/GIFImageDecoderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698