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