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

Unified Diff: net/base/net_errors_win.cc

Issue 12320003: Fix net::FileStream to handle POSIX errors correctly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « net/base/file_stream_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_errors_win.cc
diff --git a/net/base/net_errors_win.cc b/net/base/net_errors_win.cc
index 74ed228ca0dd666e783fbde4eef43b1b322ef77e..c56225f5f42bd521d98b3d235a1a0d28ca3d08a5 100644
--- a/net/base/net_errors_win.cc
+++ b/net/base/net_errors_win.cc
@@ -19,6 +19,7 @@ Error MapSystemError(int os_error) {
// find interesting.
switch (os_error) {
case WSAEWOULDBLOCK:
+ case WSA_IO_PENDING:
return ERR_IO_PENDING;
case WSAEACCES:
return ERR_ACCESS_DENIED;
« no previous file with comments | « net/base/file_stream_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698