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

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

Issue 2627093005: Move MetricsObserverInterface out of peerconnectioninterface.h (Closed)
Patch Set: Rebase Created 3 years, 11 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/p2ptransportchannel.cc ('k') | no next file » | 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 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/peerconnectioninterface.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/base/checks.h"
27 #include "webrtc/base/common.h" 27 #include "webrtc/base/common.h"
(...skipping 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 ServerAddresses servers; 1518 ServerAddresses servers;
1519 for (size_t i = 0; i < relays.size(); ++i) { 1519 for (size_t i = 0; i < relays.size(); ++i) {
1520 if (relays[i].type == turn_type && SupportsProtocol(relays[i], type)) { 1520 if (relays[i].type == turn_type && SupportsProtocol(relays[i], type)) {
1521 servers.insert(relays[i].ports.front().address); 1521 servers.insert(relays[i].ports.front().address);
1522 } 1522 }
1523 } 1523 }
1524 return servers; 1524 return servers;
1525 } 1525 }
1526 1526
1527 } // namespace cricket 1527 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/p2p/base/p2ptransportchannel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698