| Index: third_party/libjingle/overrides/talk/base/win32socketinit.cc
|
| diff --git a/third_party/libjingle/overrides/talk/base/win32socketinit.cc b/third_party/libjingle/overrides/talk/base/win32socketinit.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2a05f02760541c45e1d4a278a56f1eb6209dda61
|
| --- /dev/null
|
| +++ b/third_party/libjingle/overrides/talk/base/win32socketinit.cc
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// Redirect Libjingle's winsock initialization activity into Chromium's
|
| +// singleton object that managest precisely that for the browser.
|
| +
|
| +#include "talk/base/win32socketinit.h"
|
| +
|
| +#include "net/base/winsock_init.h"
|
| +
|
| +#ifndef WIN32
|
| +#error "Only compile this on Windows"
|
| +#endif
|
| +
|
| +namespace talk_base {
|
| +
|
| +void EnsureWinsockInit() {
|
| + net::EnsureWinsockInit();
|
| +}
|
| +
|
| +} // namespace talk_base
|
|
|