1/* 2 * Copyright 2006 The WebRTC Project Authors. All rights reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11// Redirect Libjingle's winsock initialization activity into Chromium's 12// singleton object that managest precisely that for the browser. 13 14#include "webrtc/base/win32socketinit.h" 15 16#include "net/base/winsock_init.h" 17 18#if !defined(WEBRTC_WIN) 19#error "Only compile this on Windows" 20#endif 21 22namespace rtc { 23 24void EnsureWinsockInit() { 25 net::EnsureWinsockInit(); 26} 27 28} // namespace rtc 29