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

Unified Diff: webkit/fileapi/local_file_util.cc

Issue 10855039: Cleanup: Remove FileSystemFileUtil::{Directory,Path}Exists (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test fix Created 8 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 | « webkit/fileapi/local_file_util.h ('k') | webkit/fileapi/media/device_media_file_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/local_file_util.cc
diff --git a/webkit/fileapi/local_file_util.cc b/webkit/fileapi/local_file_util.cc
index 2bfe172e3be0700518adf829b5a3d4185294edda..667094f9de0e12a4d694c94ed5074bb03967852b 100644
--- a/webkit/fileapi/local_file_util.cc
+++ b/webkit/fileapi/local_file_util.cc
@@ -188,24 +188,6 @@ PlatformFileError LocalFileUtil::Truncate(
return NativeFileUtil::Truncate(file_path, length);
}
-bool LocalFileUtil::PathExists(
- FileSystemOperationContext* context,
- const FileSystemURL& url) {
- FilePath file_path;
- if (GetLocalFilePath(context, url, &file_path) != base::PLATFORM_FILE_OK)
- return false;
- return NativeFileUtil::PathExists(file_path);
-}
-
-bool LocalFileUtil::DirectoryExists(
- FileSystemOperationContext* context,
- const FileSystemURL& url) {
- FilePath file_path;
- if (GetLocalFilePath(context, url, &file_path) != base::PLATFORM_FILE_OK)
- return false;
- return NativeFileUtil::DirectoryExists(file_path);
-}
-
bool LocalFileUtil::IsDirectoryEmpty(
FileSystemOperationContext* context,
const FileSystemURL& url) {
« no previous file with comments | « webkit/fileapi/local_file_util.h ('k') | webkit/fileapi/media/device_media_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698