Chromium Code Reviews| Index: content/child/webfileutilities_impl.h |
| diff --git a/content/child/webfileutilities_impl.h b/content/child/webfileutilities_impl.h |
| index c0119b6b8e725b5e1ee93ef8d6dc1995f28933a9..e1a0f2db09ebf61de4517602d24ffb49a47d874d 100644 |
| --- a/content/child/webfileutilities_impl.h |
| +++ b/content/child/webfileutilities_impl.h |
| @@ -5,7 +5,7 @@ |
| #ifndef CONTENT_CHILD_WEBFILEUTILITIES_IMPL_H_ |
| #define CONTENT_CHILD_WEBFILEUTILITIES_IMPL_H_ |
| -#include "base/platform_file.h" |
| +#include "base/files/file.h" |
| #include "content/common/content_export.h" |
| #include "third_party/WebKit/public/platform/WebFileInfo.h" |
| #include "third_party/WebKit/public/platform/WebFileUtilities.h" |
| @@ -24,9 +24,8 @@ class CONTENT_EXPORT WebFileUtilitiesImpl |
| virtual blink::WebString directoryName(const blink::WebString& path); |
| virtual blink::WebString baseName(const blink::WebString& path); |
| virtual blink::WebURL filePathToURL(const blink::WebString& path); |
| - virtual base::PlatformFile openFile(const blink::WebString& path, int mode); |
| - virtual void closeFile(base::PlatformFile& handle); |
| - virtual int readFromFile(base::PlatformFile handle, char* data, int length); |
| + virtual base::File openFile(const blink::WebString& path); |
|
kinuko
2014/03/24 09:45:39
Um... I guess we could likely just remove these tw
rvargas (doing something else)
2014/03/24 22:15:53
OK. They are not used but I though they were going
|
| + virtual int readFromFile(base::File* file, char* data, int length); |
| void set_sandbox_enabled(bool sandbox_enabled) { |
| sandbox_enabled_ = sandbox_enabled; |