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

Unified Diff: webkit/browser/fileapi/file_system_file_util.h

Issue 274903002: Remove PlatformFile from fileapi::FileSystemFileUtil (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: webkit/browser/fileapi/file_system_file_util.h
diff --git a/webkit/browser/fileapi/file_system_file_util.h b/webkit/browser/fileapi/file_system_file_util.h
index a9ee03544c001331caa276940869e68a0957a11b..7dff6f423c645157ac26197a66a19078a7523dff 100644
--- a/webkit/browser/fileapi/file_system_file_util.h
+++ b/webkit/browser/fileapi/file_system_file_util.h
@@ -8,7 +8,6 @@
#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
-#include "base/platform_file.h"
#include "webkit/browser/fileapi/file_system_operation.h"
#include "webkit/browser/webkit_storage_browser_export.h"
#include "webkit/common/blob/scoped_file.h"
@@ -61,18 +60,10 @@ class WEBKIT_STORAGE_BROWSER_EXPORT FileSystemFileUtil {
// Creates or opens a file with the given flags.
// See header comments for AsyncFileUtil::CreateOrOpen() for more details.
// This is used only by Pepper/NaCl File API.
- virtual base::File::Error CreateOrOpen(
+ virtual base::File CreateOrOpen(
FileSystemOperationContext* context,
const FileSystemURL& url,
- int file_flags,
- base::PlatformFile* file_handle,
- bool* created) = 0;
-
- // Closes the given file handle.
- // This is used only for Pepper/NaCl File API.
- virtual base::File::Error Close(
- FileSystemOperationContext* context,
- base::PlatformFile file) = 0;
+ int file_flags) = 0;
// Ensures that the given |url| exist. This creates a empty new file
// at |url| if the |url| does not exist.

Powered by Google App Engine
This is Rietveld 408576698