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

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 82028)
+++ 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 GetGetLocalPath;
ericu 2011/04/19 20:30:49 s/GetGetLocalPath/GetLocalPathCallback/
zel 2011/04/19 23:14:00 Done.
typedef base::FileUtilProxy::ReadDirectoryCallback ReadDirectoryCallback;
// Creates or opens a file with the given flags. It is invalid to pass NULL
@@ -76,6 +79,14 @@
// Retrieves the information about a file. It is invalid to pass NULL for the
ericu 2011/04/19 20:30:49 Same here--"Retrieves the information..." is way t
zel 2011/04/19 23:14:00 Done.
// callback.
+ static bool GetLocalPath(
+ const FileSystemOperationContext& context,
+ scoped_refptr<MessageLoopProxy> message_loop_proxy,
+ const FilePath& virtual_path,
+ GetGetLocalPath* callback);
+
+ // Retrieves the information about a file. It is invalid to pass NULL for the
+ // callback.
static bool GetFileInfo(
const FileSystemOperationContext& context,
scoped_refptr<MessageLoopProxy> message_loop_proxy,

Powered by Google App Engine
This is Rietveld 408576698