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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <stdio.h>
6 #include "base/logging.h"
7 #include "net/socket/sctp_support.h"
8
9 namespace net {
10
11 static bool g_sctp_enabled_ = false;
12 static bool g_sctp_control_stream_enabled_ = false;
13
14 bool sctp_enabled() {
15 return g_sctp_enabled_;
16 }
17
18 void set_sctp_enabled() {
19 g_sctp_enabled_ = true;
20 }
21
22 bool sctp_control_stream_enabled() {
23 return g_sctp_control_stream_enabled_;
24 }
25
26 void set_sctp_control_stream_enabled() {
27 g_sctp_control_stream_enabled_ = true;
28 }
29
30 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698