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

Unified Diff: public/platform/WebFileUtilities.h

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/web/tests/WebImageTest.cpp ('k') | public/platform/WebUnitTestSupport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebFileUtilities.h
diff --git a/public/platform/WebFileUtilities.h b/public/platform/WebFileUtilities.h
index 1a1f40e0b629a77208184bfa8f006e14bab62b0b..831495d288e007f13aa50f362dd14928022bd5fb 100644
--- a/public/platform/WebFileUtilities.h
+++ b/public/platform/WebFileUtilities.h
@@ -55,10 +55,6 @@ public:
virtual WebString baseName(const WebString& path) { return WebString(); }
virtual bool isDirectory(const WebString& path) { return false; }
virtual WebURL filePathToURL(const WebString& path) { return WebURL(); }
- virtual FileHandle openFile(const WebString& path, int mode) { return FileHandle(); }
- // Should set the FileHandle to a invalid value if the file is closed successfully.
- virtual void closeFile(FileHandle&) { }
- virtual int readFromFile(FileHandle, char* data, int length) { return 0; }
protected:
~WebFileUtilities() { }
« no previous file with comments | « Source/web/tests/WebImageTest.cpp ('k') | public/platform/WebUnitTestSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698