OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 WebRTC's winsock initialization activity into Chromium's |
| 6 // singleton object that managest precisely that for the browser. |
| 7 |
| 8 #include "third_party/webrtc/base/win32socketinit.h" |
| 9 |
| 10 #include "net/base/winsock_init.h" |
| 11 |
| 12 #if !defined(WEBRTC_WIN) |
| 13 #error "Only compile this on Windows" |
| 14 #endif |
| 15 |
| 16 namespace rtc { |
| 17 |
| 18 void EnsureWinsockInit() { |
| 19 net::EnsureWinsockInit(); |
| 20 } |
| 21 |
| 22 } // namespace rtc |
OLD | NEW |