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

Side by Side Diff: webkit/glue/p2p_transport.cc

Issue 7888022: Add DISABLE_TCP_TRANSPORT flag in the Transport API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/glue/p2p_transport.h" 5 #include "webkit/glue/p2p_transport.h"
6 6
7 namespace webkit_glue { 7 namespace webkit_glue {
8 8
9 P2PTransport::Config::Config() 9 P2PTransport::Config::Config()
10 : stun_server_port(0), 10 : stun_server_port(0),
11 relay_server_port(0), 11 relay_server_port(0),
12 legacy_relay(false), 12 legacy_relay(false),
13 tcp_receive_window(0), 13 tcp_receive_window(0),
14 tcp_send_window(0), 14 tcp_send_window(0),
15 tcp_no_delay(false), 15 tcp_no_delay(false),
16 tcp_ack_delay_ms(0) { 16 tcp_ack_delay_ms(0),
17 port_types(0xffffffff) {
17 } 18 }
18 19
19 P2PTransport::Config::~Config() { 20 P2PTransport::Config::~Config() {
20 } 21 }
21 22
22 } // namespace webkit_glue 23 } // namespace webkit_glue
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698