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

Unified Diff: net/socket/sctp_support.cc

Issue 6800009: Attn: Mike Belshe Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 8 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
Index: net/socket/sctp_support.cc
===================================================================
--- net/socket/sctp_support.cc (revision 0)
+++ net/socket/sctp_support.cc (revision 0)
@@ -0,0 +1,30 @@
+// Copyright (c) 2011 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.
+
+#include <stdio.h>
+#include "base/logging.h"
+#include "net/socket/sctp_support.h"
+
+namespace net {
+
+static bool g_sctp_enabled_ = false;
+static bool g_sctp_control_stream_enabled_ = false;
+
+bool sctp_enabled() {
+ return g_sctp_enabled_;
+}
+
+void set_sctp_enabled() {
+ g_sctp_enabled_ = true;
+}
+
+bool sctp_control_stream_enabled() {
+ return g_sctp_control_stream_enabled_;
+}
+
+void set_sctp_control_stream_enabled() {
+ g_sctp_control_stream_enabled_ = true;
+}
+
+} // namespace net
Property changes on: net/socket/sctp_support.cc
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698