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

Unified Diff: webkit/fileapi/file_system_file_util_proxy.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/file_system_file_util_proxy.h
===================================================================
--- webkit/fileapi/file_system_file_util_proxy.h (revision 82259)
+++ webkit/fileapi/file_system_file_util_proxy.h (working copy)
@@ -40,6 +40,9 @@
const PlatformFileInfo& /* file_info */,
const FilePath& /* platform_path, where possible */
>::Type GetFileInfoCallback;
+ typedef Callback2<PlatformFileError /* error code */,
+ const FilePath& /* local_path, where possible */
+ >::Type GetLocalPathCallback;
typedef base::FileUtilProxy::ReadDirectoryCallback ReadDirectoryCallback;
// Creates or opens a file with the given flags. It is invalid to pass NULL
@@ -74,6 +77,13 @@
const FilePath& file_path,
EnsureFileExistsCallback* callback);
+ // Maps virtual file patch to its local physical location.
+ static bool GetLocalPath(
+ const FileSystemOperationContext& context,
+ scoped_refptr<MessageLoopProxy> message_loop_proxy,
+ const FilePath& virtual_path,
+ GetLocalPathCallback* callback);
+
// Retrieves the information about a file. It is invalid to pass NULL for the
// callback.
static bool GetFileInfo(

Powered by Google App Engine
This is Rietveld 408576698