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

Unified Diff: webkit/fileapi/local_file_system_file_util.h

Issue 6864040: Fixed file/directory url resolution for external mount point provider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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: webkit/fileapi/local_file_system_file_util.h
===================================================================
--- webkit/fileapi/local_file_system_file_util.h (revision 82028)
+++ webkit/fileapi/local_file_system_file_util.h (working copy)
@@ -49,12 +49,23 @@
FileSystemOperationContext* context,
const FilePath& file_path, bool* created);
+ virtual PlatformFileError GetLocalFilePath(
+ FileSystemOperationContext* context,
+ const FilePath& virtual_file,
+ FilePath* local_path);
+
virtual PlatformFileError GetFileInfo(
FileSystemOperationContext* context,
- const FilePath& file_,
+ const FilePath& file,
base::PlatformFileInfo* file_info,
FilePath* platform_file);
+ virtual FilePath GetLocalPath(
ericu 2011/04/19 20:30:49 Why is this now virtual and public? I think exter
zel 2011/04/19 23:14:00 Done.
+ FileSystemOperationContext* context,
+ const GURL& origin_url,
+ FileSystemType type,
+ const FilePath& virtual_path);
+
virtual PlatformFileError ReadDirectory(
FileSystemOperationContext* context,
const FilePath& file_path,
@@ -99,14 +110,6 @@
DISALLOW_COPY_AND_ASSIGN(LocalFileSystemFileUtil);
private:
- // Given the filesystem's root URL and a virtual path, produces a real, full
- // local path.
- FilePath GetLocalPath(
- FileSystemOperationContext* context,
- const GURL& origin_url,
- FileSystemType type,
- const FilePath& virtual_path);
-
};
} // namespace fileapi

Powered by Google App Engine
This is Rietveld 408576698