Index: net/base/net_errors.h |
diff --git a/net/base/net_errors.h b/net/base/net_errors.h |
index 34e355e1104c72e5bbc6c20f0e741c6f99f91b9c..c8742a8110df194d01666ebd46d20e8403c121c1 100644 |
--- a/net/base/net_errors.h |
+++ b/net/base/net_errors.h |
@@ -8,7 +8,7 @@ |
#include <vector> |
#include "base/basictypes.h" |
-#include "base/platform_file.h" |
+#include "base/files/file.h" |
#include "net/base/net_export.h" |
namespace net { |
@@ -53,9 +53,8 @@ NET_EXPORT Error MapSystemError(int os_error); |
// error code that is not followed immediately by a valid error code. |
NET_EXPORT std::vector<int> GetAllErrorCodesForUma(); |
-// A convenient function to translate platform file error to net error code. |
-NET_EXPORT Error PlatformFileErrorToNetError( |
- base::PlatformFileError file_error); |
+// A convenient function to translate file error to net error code. |
+NET_EXPORT Error FileErrorToNetError(base::File::Error file_error); |
} // namespace net |