Index: net/base/net_errors_win.cc |
diff --git a/net/base/net_errors_win.cc b/net/base/net_errors_win.cc |
index 7f27deec7ef4c0f029ea5ea20be9c235584bfeb7..6c71c634885672de86d66def5744bf86b8db193e 100644 |
--- a/net/base/net_errors_win.cc |
+++ b/net/base/net_errors_win.cc |
@@ -70,13 +70,13 @@ Error MapSystemError(int os_error) { |
return ERR_OUT_OF_MEMORY; // process this command. |
case ERROR_OUTOFMEMORY: // Not enough storage is available to complete |
return ERR_OUT_OF_MEMORY; // this operation. |
- case ERROR_WRITE_PROTECT: // The media is write protected. |
+ case ERROR_WRITE_PROTECT: // The media is write protected. |
return ERR_ACCESS_DENIED; |
case ERROR_SHARING_VIOLATION: // Cannot access the file because it is |
return ERR_ACCESS_DENIED; // being used by another process. |
- case ERROR_LOCK_VIOLATION: // The process cannot access the file because |
- return ERR_ACCESS_DENIED; // another process has locked the file. |
- case ERROR_HANDLE_EOF: // Reached the end of the file. |
+ case ERROR_LOCK_VIOLATION: // The process cannot access the file because |
+ return ERR_ACCESS_DENIED; // another process has locked the file. |
+ case ERROR_HANDLE_EOF: // Reached the end of the file. |
return ERR_FAILED; |
case ERROR_HANDLE_DISK_FULL: // The disk is full. |
return ERR_FILE_NO_SPACE; |
@@ -90,25 +90,25 @@ Error MapSystemError(int os_error) { |
return ERR_FILE_NO_SPACE; |
case ERROR_CALL_NOT_IMPLEMENTED: // This function is not supported on |
return ERR_NOT_IMPLEMENTED; // this system. |
- case ERROR_INVALID_NAME: // The filename, directory name, or volume |
- return ERR_INVALID_ARGUMENT; // label syntax is incorrect. |
- case ERROR_DIR_NOT_EMPTY: // The directory is not empty. |
+ case ERROR_INVALID_NAME: // The filename, directory name, or volume |
+ return ERR_INVALID_ARGUMENT; // label syntax is incorrect. |
+ case ERROR_DIR_NOT_EMPTY: // The directory is not empty. |
return ERR_FAILED; |
case ERROR_BUSY: // The requested resource is in use. |
return ERR_ACCESS_DENIED; |
- case ERROR_ALREADY_EXISTS: // Cannot create a file when that file |
- return ERR_FILE_EXISTS; // already exists. |
+ case ERROR_ALREADY_EXISTS: // Cannot create a file when that file |
+ return ERR_FILE_EXISTS; // already exists. |
case ERROR_FILENAME_EXCED_RANGE: // The filename or extension is too long. |
return ERR_FILE_PATH_TOO_LONG; |
case ERROR_FILE_TOO_LARGE: // The file size exceeds the limit allowed |
return ERR_FILE_NO_SPACE; // and cannot be saved. |
- case ERROR_VIRUS_INFECTED: // Operation failed because the file |
+ case ERROR_VIRUS_INFECTED: // Operation failed because the file |
return ERR_FILE_VIRUS_INFECTED; // contains a virus. |
- case ERROR_IO_DEVICE: // The request could not be performed |
- return ERR_ACCESS_DENIED; // because of an I/O device error. |
- case ERROR_POSSIBLE_DEADLOCK: // A potential deadlock condition has |
- return ERR_ACCESS_DENIED; // been detected. |
- case ERROR_BAD_DEVICE: // The specified device name is invalid. |
+ case ERROR_IO_DEVICE: // The request could not be performed |
+ return ERR_ACCESS_DENIED; // because of an I/O device error. |
+ case ERROR_POSSIBLE_DEADLOCK: // A potential deadlock condition has |
+ return ERR_ACCESS_DENIED; // been detected. |
+ case ERROR_BAD_DEVICE: // The specified device name is invalid. |
return ERR_INVALID_ARGUMENT; |
case ERROR_BROKEN_PIPE: // Pipe is not connected. |
return ERR_CONNECTION_RESET; |