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

Unified Diff: content/common/fileapi/webfilesystem_impl.cc

Issue 12084077: FileSystem mods: Changes to snapshot file creation to remove dependencies on blobs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 | « content/common/fileapi/webfilesystem_impl.h ('k') | content/common/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/fileapi/webfilesystem_impl.cc
===================================================================
--- content/common/fileapi/webfilesystem_impl.cc (revision 182366)
+++ content/common/fileapi/webfilesystem_impl.cc (working copy)
@@ -120,12 +120,22 @@
}
void WebFileSystemImpl::createSnapshotFileAndReadMetadata(
+ const WebKit::WebURL& path,
+ WebKit::WebFileSystemCallbacks* callbacks) {
+ FileSystemDispatcher* dispatcher =
+ ChildThread::current()->file_system_dispatcher();
+ dispatcher->CreateSnapshotFile(
+ GURL(path), new WebFileSystemCallbackDispatcher(callbacks));
+}
+
+// DEPRECATED
+void WebFileSystemImpl::createSnapshotFileAndReadMetadata(
const WebKit::WebURL& blobURL,
const WebKit::WebURL& path,
WebKit::WebFileSystemCallbacks* callbacks) {
FileSystemDispatcher* dispatcher =
ChildThread::current()->file_system_dispatcher();
- dispatcher->CreateSnapshotFile(
+ dispatcher->CreateSnapshotFile_Deprecated(
GURL(blobURL), GURL(path),
new WebFileSystemCallbackDispatcher(callbacks));
}
« no previous file with comments | « content/common/fileapi/webfilesystem_impl.h ('k') | content/common/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698