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

Unified Diff: webkit/fileapi/local_file_util.h

Issue 10815003: Adding FileUtil::CreateSnapshotFile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/isolated_file_util.cc ('k') | webkit/fileapi/local_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/local_file_util.h
diff --git a/webkit/fileapi/local_file_util.h b/webkit/fileapi/local_file_util.h
index 37253a77f39a7d805cbb47f7b14b7f34f4ce93c1..f933ff2a32006cc496d56a34586f6ef8bc04c18d 100644
--- a/webkit/fileapi/local_file_util.h
+++ b/webkit/fileapi/local_file_util.h
@@ -14,6 +14,7 @@
#include "base/file_util_proxy.h"
#include "base/logging.h"
#include "base/platform_file.h"
+#include "webkit/blob/shareable_file_reference.h"
#include "webkit/fileapi/fileapi_export.h"
#include "webkit/fileapi/file_system_file_util.h"
#include "webkit/fileapi/file_system_types.h"
@@ -105,6 +106,12 @@ class FILEAPI_EXPORT_PRIVATE LocalFileUtil : public FileSystemFileUtil {
virtual PlatformFileError DeleteSingleDirectory(
FileSystemOperationContext* context,
const FileSystemURL& url) OVERRIDE;
+ virtual scoped_refptr<webkit_blob::ShareableFileReference>
+ CreateSnapshotFile(FileSystemOperationContext* context,
+ const FileSystemURL& url,
+ base::PlatformFileError* result,
+ base::PlatformFileInfo* file_info,
+ FilePath* platform_path) OVERRIDE;
private:
// Given the filesystem url, produces a real, full local path for the
« no previous file with comments | « webkit/fileapi/isolated_file_util.cc ('k') | webkit/fileapi/local_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698