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

Side by Side Diff: webrtc/p2p/base/p2ptransportchannel_unittest.cc

Issue 2006903004: Revert of Change the size of the ICE ufrag to 4 bytes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « webrtc/p2p/base/p2pconstants.cc ('k') | webrtc/p2p/base/port_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2009 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2009 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 static const SocketAddress kRelaySslTcpExtAddr("99.99.99.3", 5005); 83 static const SocketAddress kRelaySslTcpExtAddr("99.99.99.3", 5005);
84 // The addresses for the public turn server. 84 // The addresses for the public turn server.
85 static const SocketAddress kTurnUdpIntAddr("99.99.99.4", 85 static const SocketAddress kTurnUdpIntAddr("99.99.99.4",
86 cricket::STUN_SERVER_PORT); 86 cricket::STUN_SERVER_PORT);
87 static const SocketAddress kTurnTcpIntAddr("99.99.99.4", 87 static const SocketAddress kTurnTcpIntAddr("99.99.99.4",
88 cricket::STUN_SERVER_PORT + 1); 88 cricket::STUN_SERVER_PORT + 1);
89 static const SocketAddress kTurnUdpExtAddr("99.99.99.5", 0); 89 static const SocketAddress kTurnUdpExtAddr("99.99.99.5", 0);
90 static const cricket::RelayCredentials kRelayCredentials("test", "test"); 90 static const cricket::RelayCredentials kRelayCredentials("test", "test");
91 91
92 // Based on ICE_UFRAG_LENGTH 92 // Based on ICE_UFRAG_LENGTH
93 static const char* kIceUfrag[4] = {"UF00", "UF01", 93 static const char* kIceUfrag[4] = {"TESTICEUFRAG0000", "TESTICEUFRAG0001",
94 "UF02", "UF03"}; 94 "TESTICEUFRAG0002", "TESTICEUFRAG0003"};
95 // Based on ICE_PWD_LENGTH 95 // Based on ICE_PWD_LENGTH
96 static const char* kIcePwd[4] = {"TESTICEPWD00000000000000", 96 static const char* kIcePwd[4] = {"TESTICEPWD00000000000000",
97 "TESTICEPWD00000000000001", 97 "TESTICEPWD00000000000001",
98 "TESTICEPWD00000000000002", 98 "TESTICEPWD00000000000002",
99 "TESTICEPWD00000000000003"}; 99 "TESTICEPWD00000000000003"};
100 100
101 static const uint64_t kTiebreaker1 = 11111; 101 static const uint64_t kTiebreaker1 = 11111;
102 static const uint64_t kTiebreaker2 = 22222; 102 static const uint64_t kTiebreaker2 = 22222;
103 103
104 enum { MSG_ADD_CANDIDATES, MSG_REMOVE_CANDIDATES }; 104 enum { MSG_ADD_CANDIDATES, MSG_REMOVE_CANDIDATES };
(...skipping 2789 matching lines...) Expand 10 before | Expand all | Expand 10 after
2894 2894
2895 // TCP Relay/Relay is the next. 2895 // TCP Relay/Relay is the next.
2896 VerifyNextPingableConnection(cricket::RELAY_PORT_TYPE, 2896 VerifyNextPingableConnection(cricket::RELAY_PORT_TYPE,
2897 cricket::RELAY_PORT_TYPE, 2897 cricket::RELAY_PORT_TYPE,
2898 cricket::TCP_PROTOCOL_NAME); 2898 cricket::TCP_PROTOCOL_NAME);
2899 2899
2900 // Finally, Local/Relay will be pinged. 2900 // Finally, Local/Relay will be pinged.
2901 VerifyNextPingableConnection(cricket::LOCAL_PORT_TYPE, 2901 VerifyNextPingableConnection(cricket::LOCAL_PORT_TYPE,
2902 cricket::RELAY_PORT_TYPE); 2902 cricket::RELAY_PORT_TYPE);
2903 } 2903 }
OLDNEW
« no previous file with comments | « webrtc/p2p/base/p2pconstants.cc ('k') | webrtc/p2p/base/port_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698