moving SyncSocket's kInvalidHandle constant
So it does not get exported in the split dll build.
The change is to move the definition into the h and
telling the linker to just pick one symbol.
This change needs to be undone in the next quarter
or so.
BUG=237249
TEST=none
TBR=brettw
Review URL: https://chromiumcodereview.appspot.com/15480004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201690 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/sync_socket_win.cc b/base/sync_socket_win.cc
index 4fcd5720..99a6afe 100644
--- a/base/sync_socket_win.cc
+++ b/base/sync_socket_win.cc
@@ -168,7 +168,9 @@
} // namespace
+#if defined(COMPONENT_BUILD)
const SyncSocket::Handle SyncSocket::kInvalidHandle = INVALID_HANDLE_VALUE;
+#endif
SyncSocket::SyncSocket() : handle_(kInvalidHandle) {}