Remove base/platform_file.*
Fix remaining users of platform_file.h
BUG=322664
R=brettw@chromium.org
TBR=thestig@chromium.org, satorux@chromium.org, jochen@chromium.org, rockot@chromium.org, viettrungluu@chromium.org
Review URL: https://codereview.chromium.org/326383005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279330 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: aefeb011b33eeded5c59bb6e2e08b7612a2666d7
diff --git a/base/files/file.cc b/base/files/file.cc
index bfe87bd..ea8dbf2 100644
--- a/base/files/file.cc
+++ b/base/files/file.cc
@@ -3,9 +3,7 @@
// found in the LICENSE file.
#include "base/files/file.h"
-
-// TODO(rvargas): remove this (needed for kInvalidPlatformFileValue).
-#include "base/platform_file.h"
+#include "base/files/file_path.h"
namespace base {
@@ -19,16 +17,14 @@
}
File::File()
- : file_(kInvalidPlatformFileValue),
- error_details_(FILE_ERROR_FAILED),
+ : error_details_(FILE_ERROR_FAILED),
created_(false),
async_(false) {
}
#if !defined(OS_NACL)
File::File(const FilePath& name, uint32 flags)
- : file_(kInvalidPlatformFileValue),
- error_details_(FILE_OK),
+ : error_details_(FILE_OK),
created_(false),
async_(false) {
Initialize(name, flags);
@@ -46,8 +42,7 @@
}
File::File(Error error_details)
- : file_(kInvalidPlatformFileValue),
- error_details_(error_details),
+ : error_details_(error_details),
created_(false),
async_(false) {
}