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

Unified Diff: shell/domain_socket/net_errors.cc

Issue 1045893004: Remove is_win/OS_WIN checks in shell code (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « shell/command_line_util.cc ('k') | shell/filename_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/domain_socket/net_errors.cc
diff --git a/shell/domain_socket/net_errors.cc b/shell/domain_socket/net_errors.cc
index 2216579f1eebdc5d3ea02c37f716f8858d5f9515..1f4ccab7915b64d1abb1ace35003b5291969c6da 100644
--- a/shell/domain_socket/net_errors.cc
+++ b/shell/domain_socket/net_errors.cc
@@ -6,15 +6,7 @@
#include <errno.h>
#include <stdlib.h>
-#if defined(OS_POSIX)
#include <unistd.h>
-#endif
-#if defined(OS_WIN)
-#include <winsock2.h>
-#define EDQUOT WSAEDQUOT
-#define EHOSTDOWN WSAEHOSTDOWN
-#define EUSERS WSAEUSERS
-#endif
#include <string>
« no previous file with comments | « shell/command_line_util.cc ('k') | shell/filename_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698