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

Unified Diff: webkit/fileapi/local_file_util.cc

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/local_file_util.h ('k') | webkit/fileapi/obfuscated_file_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/local_file_util.cc
diff --git a/webkit/fileapi/local_file_util.cc b/webkit/fileapi/local_file_util.cc
index 99d16af00f171c42bf4c6d5fe73b438eda30d5a1..51a13aa581f25b1f0603bd46c1d99ed0a626878b 100644
--- a/webkit/fileapi/local_file_util.cc
+++ b/webkit/fileapi/local_file_util.cc
@@ -269,4 +269,18 @@ PlatformFileError LocalFileUtil::DeleteSingleDirectory(
return NativeFileUtil::DeleteSingleDirectory(file_path);
}
+scoped_refptr<webkit_blob::ShareableFileReference>
+LocalFileUtil::CreateSnapshotFile(
+ FileSystemOperationContext* context,
+ const FileSystemURL& url,
+ base::PlatformFileError* result,
+ base::PlatformFileInfo* file_info,
+ FilePath* platform_path) {
+ DCHECK(result);
+ *result = GetFileInfo(context, url, file_info, platform_path);
+ // We don't want the third party to delete our local file, so just returning
+ // NULL.
+ return NULL;
+}
+
} // namespace fileapi
« no previous file with comments | « webkit/fileapi/local_file_util.h ('k') | webkit/fileapi/obfuscated_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698