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

Unified Diff: base/sync_socket_win.cc

Issue 15480004: moving SyncSocket's kInvalidHandle constant (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix linkage Created 7 years, 7 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 | « base/sync_socket.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sync_socket_win.cc
diff --git a/base/sync_socket_win.cc b/base/sync_socket_win.cc
index 4fcd572084f72abc38d6b035873c6fa27ff93887..99a6afea3ec2fdde77f7ac829cbf102fa6998098 100644
--- a/base/sync_socket_win.cc
+++ b/base/sync_socket_win.cc
@@ -168,7 +168,9 @@ size_t CancelableFileOperation(Function operation, HANDLE file,
} // namespace
+#if defined(COMPONENT_BUILD)
const SyncSocket::Handle SyncSocket::kInvalidHandle = INVALID_HANDLE_VALUE;
+#endif
SyncSocket::SyncSocket() : handle_(kInvalidHandle) {}
« no previous file with comments | « base/sync_socket.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698