OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/fileapi/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/fileapi/file_system_dispatcher.h" | 8 #include "content/common/fileapi/file_system_dispatcher.h" |
9 #include "content/common/fileapi/webfilesystem_callback_dispatcher.h" | 9 #include "content/common/fileapi/webfilesystem_callback_dispatcher.h" |
10 #include "content/common/fileapi/webfilewriter_impl.h" | 10 #include "content/common/fileapi/webfilewriter_impl.h" |
| 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileInfo.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileInfo.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback
s.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback
s.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" | |
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; |
21 using WebKit::WebURL; | 21 using WebKit::WebURL; |
22 using WebKit::WebVector; | 22 using WebKit::WebVector; |
23 | 23 |
24 namespace content { | 24 namespace content { |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 const WebKit::WebURL& path, | 124 const WebKit::WebURL& path, |
125 WebKit::WebFileSystemCallbacks* callbacks) { | 125 WebKit::WebFileSystemCallbacks* callbacks) { |
126 FileSystemDispatcher* dispatcher = | 126 FileSystemDispatcher* dispatcher = |
127 ChildThread::current()->file_system_dispatcher(); | 127 ChildThread::current()->file_system_dispatcher(); |
128 dispatcher->CreateSnapshotFile( | 128 dispatcher->CreateSnapshotFile( |
129 GURL(blobURL), GURL(path), | 129 GURL(blobURL), GURL(path), |
130 new WebFileSystemCallbackDispatcher(callbacks)); | 130 new WebFileSystemCallbackDispatcher(callbacks)); |
131 } | 131 } |
132 | 132 |
133 } // namespace content | 133 } // namespace content |
OLD | NEW |