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_callback_dispatcher.h" | 5 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/file_util_proxy.h" | 10 #include "base/file_util_proxy.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileInfo.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileInfo.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback
s.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback
s.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
18 #include "webkit/glue/webkit_glue.h" | 18 #include "webkit/glue/webkit_glue.h" |
19 | 19 |
20 using WebKit::WebFileInfo; | 20 using WebKit::WebFileInfo; |
21 using WebKit::WebFileSystemCallbacks; | 21 using WebKit::WebFileSystemCallbacks; |
22 using WebKit::WebFileSystemEntry; | 22 using WebKit::WebFileSystemEntry; |
23 using WebKit::WebString; | 23 using WebKit::WebString; |
24 using WebKit::WebVector; | 24 using WebKit::WebVector; |
25 | 25 |
26 WebFileSystemCallbackDispatcher::WebFileSystemCallbackDispatcher( | 26 WebFileSystemCallbackDispatcher::WebFileSystemCallbackDispatcher( |
27 WebFileSystemCallbacks* callbacks) | 27 WebFileSystemCallbacks* callbacks) |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 void WebFileSystemCallbackDispatcher::DidFail( | 66 void WebFileSystemCallbackDispatcher::DidFail( |
67 base::PlatformFileError error_code) { | 67 base::PlatformFileError error_code) { |
68 callbacks_->didFail( | 68 callbacks_->didFail( |
69 webkit_glue::PlatformFileErrorToWebFileError(error_code)); | 69 webkit_glue::PlatformFileErrorToWebFileError(error_code)); |
70 } | 70 } |
71 | 71 |
72 void WebFileSystemCallbackDispatcher::DidWrite(int64 bytes, bool complete) { | 72 void WebFileSystemCallbackDispatcher::DidWrite(int64 bytes, bool complete) { |
73 NOTREACHED(); | 73 NOTREACHED(); |
74 } | 74 } |
OLD | NEW |