| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/common/file_system/webfilesystem_impl.h" | 5 #include "content/common/fileapi/webfilesystem_impl.h" |
| 6 | 6 |
| 7 #include "content/common/child_thread.h" | 7 #include "content/common/child_thread.h" |
| 8 #include "content/common/file_system/file_system_dispatcher.h" | 8 #include "content/common/fileapi/file_system_dispatcher.h" |
| 9 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" | 9 #include "content/common/fileapi/webfilesystem_callback_dispatcher.h" |
| 10 #include "content/common/file_system/webfilewriter_impl.h" | 10 #include "content/common/fileapi/webfilewriter_impl.h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileInfo.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileInfo.h" |
| 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback
s.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback
s.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
| 15 #include "webkit/glue/webkit_glue.h" | 15 #include "webkit/glue/webkit_glue.h" |
| 16 | 16 |
| 17 using WebKit::WebFileInfo; | 17 using WebKit::WebFileInfo; |
| 18 using WebKit::WebFileSystemCallbacks; | 18 using WebKit::WebFileSystemCallbacks; |
| 19 using WebKit::WebFileSystemEntry; | 19 using WebKit::WebFileSystemEntry; |
| 20 using WebKit::WebString; | 20 using WebKit::WebString; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 void WebFileSystemImpl::createSnapshotFileAndReadMetadata( | 120 void WebFileSystemImpl::createSnapshotFileAndReadMetadata( |
| 121 const WebKit::WebURL& blobURL, | 121 const WebKit::WebURL& blobURL, |
| 122 const WebKit::WebURL& path, | 122 const WebKit::WebURL& path, |
| 123 WebKit::WebFileSystemCallbacks* callbacks) { | 123 WebKit::WebFileSystemCallbacks* callbacks) { |
| 124 FileSystemDispatcher* dispatcher = | 124 FileSystemDispatcher* dispatcher = |
| 125 ChildThread::current()->file_system_dispatcher(); | 125 ChildThread::current()->file_system_dispatcher(); |
| 126 dispatcher->CreateSnapshotFile( | 126 dispatcher->CreateSnapshotFile( |
| 127 GURL(blobURL), GURL(path), | 127 GURL(blobURL), GURL(path), |
| 128 new WebFileSystemCallbackDispatcher(callbacks)); | 128 new WebFileSystemCallbackDispatcher(callbacks)); |
| 129 } | 129 } |
| OLD | NEW |