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

Side by Side Diff: webrtc/test/channel_transport/udp_transport.h

Issue 1369263002: Unify Transport and newapi::Transport interfaces. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: self-review Created 5 years, 2 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/test/call_test.cc ('k') | webrtc/test/channel_transport/udp_transport_impl.h » ('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 (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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
11 #ifndef WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_TRANSPORT_H_ 11 #ifndef WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_TRANSPORT_H_
12 #define WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_TRANSPORT_H_ 12 #define WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_TRANSPORT_H_
13 13
14 #include "webrtc/common_types.h" 14 #include "webrtc/common_types.h"
15 #include "webrtc/transport.h"
15 #include "webrtc/typedefs.h" 16 #include "webrtc/typedefs.h"
16 17
17 /* 18 /*
18 * WARNING 19 * WARNING
19 * This code is not use in production/testing and might have security issues 20 * This code is not use in production/testing and might have security issues
20 * for example: http://code.google.com/p/webrtc/issues/detail?id=1028 21 * for example: http://code.google.com/p/webrtc/issues/detail?id=1028
21 * 22 *
22 */ 23 */
23 24
24 #define SS_MAXSIZE 128 25 #define SS_MAXSIZE 128
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 // Return true if ipaddr is a valid IP address. 372 // Return true if ipaddr is a valid IP address.
372 // If ipV6 is false ipaddr is interpreted as an IPv4 address otherwise it 373 // If ipV6 is false ipaddr is interpreted as an IPv4 address otherwise it
373 // is interptreted as IPv6. 374 // is interptreted as IPv6.
374 static bool IsIpAddressValid(const char* ipaddr, const bool ipV6); 375 static bool IsIpAddressValid(const char* ipaddr, const bool ipV6);
375 }; 376 };
376 377
377 } // namespace test 378 } // namespace test
378 } // namespace webrtc 379 } // namespace webrtc
379 380
380 #endif // WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_TRANSPORT_H_ 381 #endif // WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_TRANSPORT_H_
OLDNEW
« no previous file with comments | « webrtc/test/call_test.cc ('k') | webrtc/test/channel_transport/udp_transport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698