| Index: third_party/webrtc_overrides/webrtc/base/win32socketinit.cc
|
| diff --git a/third_party/webrtc_overrides/webrtc/base/win32socketinit.cc b/third_party/webrtc_overrides/webrtc/base/win32socketinit.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..770f8f22df78d8ee64b550c98de3db084240ff9f
|
| --- /dev/null
|
| +++ b/third_party/webrtc_overrides/webrtc/base/win32socketinit.cc
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2015 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 WebRTC's winsock initialization activity into Chromium's
|
| +// singleton object that managest precisely that for the browser.
|
| +
|
| +#include "third_party/webrtc/base/win32socketinit.h"
|
| +
|
| +#include "net/base/winsock_init.h"
|
| +
|
| +#if !defined(WEBRTC_WIN)
|
| +#error "Only compile this on Windows"
|
| +#endif
|
| +
|
| +namespace rtc {
|
| +
|
| +void EnsureWinsockInit() {
|
| + net::EnsureWinsockInit();
|
| +}
|
| +
|
| +} // namespace rtc
|
|
|