Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Unified Diff: third_party/libjingle/overrides/talk/base/win32socketinit.cc

Issue 435823002: Revert "Update webrtc&libjingle 6774:6799." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libjingle/overrides/talk/base/logging.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/libjingle/overrides/talk/base/logging.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698