Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: content/child/webfileutilities_impl.h

Issue 207503002: Remove PlatformFile from WebFileUtilitiesImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/child/webfileutilities_impl.cc » ('j') | content/child/webfileutilities_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | content/child/webfileutilities_impl.cc » ('j') | content/child/webfileutilities_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698