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

Unified Diff: webkit/fileapi/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/file_system_file_util.h
===================================================================
--- webkit/fileapi/file_system_file_util.h (revision 82259)
+++ webkit/fileapi/file_system_file_util.h (working copy)
@@ -13,6 +13,7 @@
#include "base/memory/singleton.h"
#include "base/platform_file.h"
#include "base/tracked_objects.h"
+#include "webkit/fileapi/file_system_types.h"
namespace base {
struct PlatformFileInfo;
@@ -24,7 +25,6 @@
using base::PlatformFile;
using base::PlatformFileError;
-
class FileSystemOperationContext;
// A large part of this implementation is taken from base::FileUtilProxy.
@@ -64,6 +64,14 @@
FileSystemOperationContext* context,
const FilePath& file_path, bool* created);
+ // Maps |virtual_path| given |context| into |local_path| which represents
+ // physical file location on the host OS. This may not always make sense for
+ // all subclasses.
+ virtual PlatformFileError GetLocalFilePath(
+ FileSystemOperationContext* context,
+ const FilePath& virtual_path,
+ FilePath* local_path);
+
// Retrieves the information about a file. It is invalid to pass NULL for the
// callback.
virtual PlatformFileError GetFileInfo(

Powered by Google App Engine
This is Rietveld 408576698