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

Side by Side Diff: webrtc/p2p/client/basicportallocator.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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 #include "webrtc/p2p/client/basicportallocator.h" 11 #include "webrtc/p2p/client/basicportallocator.h"
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "webrtc/api/umametrics.h" 17 #include "webrtc/api/umametrics.h"
18 #include "webrtc/p2p/base/basicpacketsocketfactory.h" 18 #include "webrtc/p2p/base/basicpacketsocketfactory.h"
19 #include "webrtc/p2p/base/common.h" 19 #include "webrtc/p2p/base/common.h"
20 #include "webrtc/p2p/base/port.h" 20 #include "webrtc/p2p/base/port.h"
21 #include "webrtc/p2p/base/relayport.h" 21 #include "webrtc/p2p/base/relayport.h"
22 #include "webrtc/p2p/base/stunport.h" 22 #include "webrtc/p2p/base/stunport.h"
23 #include "webrtc/p2p/base/tcpport.h" 23 #include "webrtc/p2p/base/tcpport.h"
24 #include "webrtc/p2p/base/turnport.h" 24 #include "webrtc/p2p/base/turnport.h"
25 #include "webrtc/p2p/base/udpport.h" 25 #include "webrtc/p2p/base/udpport.h"
26 #include "webrtc/base/checks.h" 26 #include "webrtc/rtc_base/checks.h"
27 #include "webrtc/base/helpers.h" 27 #include "webrtc/rtc_base/helpers.h"
28 #include "webrtc/base/logging.h" 28 #include "webrtc/rtc_base/logging.h"
29 29
30 using rtc::CreateRandomId; 30 using rtc::CreateRandomId;
31 31
32 namespace { 32 namespace {
33 33
34 enum { 34 enum {
35 MSG_CONFIG_START, 35 MSG_CONFIG_START,
36 MSG_CONFIG_READY, 36 MSG_CONFIG_READY,
37 MSG_ALLOCATE, 37 MSG_ALLOCATE,
38 MSG_ALLOCATION_PHASE, 38 MSG_ALLOCATION_PHASE,
(...skipping 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after
1529 ServerAddresses servers; 1529 ServerAddresses servers;
1530 for (size_t i = 0; i < relays.size(); ++i) { 1530 for (size_t i = 0; i < relays.size(); ++i) {
1531 if (relays[i].type == turn_type && SupportsProtocol(relays[i], type)) { 1531 if (relays[i].type == turn_type && SupportsProtocol(relays[i], type)) {
1532 servers.insert(relays[i].ports.front().address); 1532 servers.insert(relays[i].ports.front().address);
1533 } 1533 }
1534 } 1534 }
1535 return servers; 1535 return servers;
1536 } 1536 }
1537 1537
1538 } // namespace cricket 1538 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/p2p/client/basicportallocator.h ('k') | webrtc/p2p/client/basicportallocator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698