summaryrefslogtreecommitdiffstats
path: root/content/common/file_system/webfilesystem_impl.cc
diff options
context:
space:
mode:
authortzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 03:36:46 +0000
committertzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 03:36:46 +0000
commitf5ac98d88b707c6aa60ad01a0c96c6406a8c6ee6 (patch)
tree9f788b308c1b109a4c9ddf2ea1809655f2fa5f77 /content/common/file_system/webfilesystem_impl.cc
parente827c61755bbd5ca666d66b0934f8282a4de3abf (diff)
downloadchromium_src-f5ac98d88b707c6aa60ad01a0c96c6406a8c6ee6.zip
chromium_src-f5ac98d88b707c6aa60ad01a0c96c6406a8c6ee6.tar.gz
chromium_src-f5ac98d88b707c6aa60ad01a0c96c6406a8c6ee6.tar.bz2
IPC Plumping for WebFileSystem::createSnapshotFileAndReadMetadata
BUG=115603 TEST=None Review URL: https://chromiumcodereview.appspot.com/9475036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124100 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/file_system/webfilesystem_impl.cc')
-rw-r--r--content/common/file_system/webfilesystem_impl.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/content/common/file_system/webfilesystem_impl.cc b/content/common/file_system/webfilesystem_impl.cc
index 2d176cf3..e8f38cd 100644
--- a/content/common/file_system/webfilesystem_impl.cc
+++ b/content/common/file_system/webfilesystem_impl.cc
@@ -116,3 +116,14 @@ WebKit::WebFileWriter* WebFileSystemImpl::createFileWriter(
const WebURL& path, WebKit::WebFileWriterClient* client) {
return new WebFileWriterImpl(GURL(path), client);
}
+
+void WebFileSystemImpl::createSnapshotFileAndReadMetadata(
+ const WebKit::WebURL& blobURL,
+ const WebKit::WebURL& path,
+ WebKit::WebFileSystemCallbacks* callbacks) {
+ FileSystemDispatcher* dispatcher =
+ ChildThread::current()->file_system_dispatcher();
+ dispatcher->CreateSnapshotFile(
+ GURL(blobURL), GURL(path),
+ new WebFileSystemCallbackDispatcher(callbacks));
+}