OLD | NEW |
| (Empty) |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Redirect Libjingle's winsock initialization activity into Chromium's | |
6 // singleton object that managest precisely that for the browser. | |
7 | |
8 #include "talk/base/win32socketinit.h" | |
9 | |
10 #include "net/base/winsock_init.h" | |
11 | |
12 #ifndef WIN32 | |
13 #error "Only compile this on Windows" | |
14 #endif | |
15 | |
16 namespace talk_base { | |
17 | |
18 void EnsureWinsockInit() { | |
19 net::EnsureWinsockInit(); | |
20 } | |
21 | |
22 } // namespace talk_base | |
OLD | NEW |