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)); |
} |