OLD | NEW |
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 <utility> // for std::pair | 11 #include <utility> // for std::pair |
12 | 12 |
13 #include "webrtc/p2p/base/transport.h" | 13 #include "webrtc/p2p/base/transport.h" |
14 | 14 |
15 #include "webrtc/p2p/base/candidate.h" | 15 #include "webrtc/p2p/base/candidate.h" |
16 #include "webrtc/p2p/base/constants.h" | 16 #include "webrtc/p2p/base/p2pconstants.h" |
17 #include "webrtc/p2p/base/port.h" | 17 #include "webrtc/p2p/base/port.h" |
18 #include "webrtc/p2p/base/transportchannelimpl.h" | 18 #include "webrtc/p2p/base/transportchannelimpl.h" |
19 #include "webrtc/base/bind.h" | 19 #include "webrtc/base/bind.h" |
20 #include "webrtc/base/checks.h" | 20 #include "webrtc/base/checks.h" |
21 #include "webrtc/base/logging.h" | 21 #include "webrtc/base/logging.h" |
22 | 22 |
23 namespace cricket { | 23 namespace cricket { |
24 | 24 |
25 static bool VerifyIceParams(const TransportDescription& desc) { | 25 static bool VerifyIceParams(const TransportDescription& desc) { |
26 // For legacy protocols. | 26 // For legacy protocols. |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 // negotiation happens. | 382 // negotiation happens. |
383 for (const auto& kv : channels_) { | 383 for (const auto& kv : channels_) { |
384 if (!ApplyNegotiatedTransportDescription(kv.second, error_desc)) { | 384 if (!ApplyNegotiatedTransportDescription(kv.second, error_desc)) { |
385 return false; | 385 return false; |
386 } | 386 } |
387 } | 387 } |
388 return true; | 388 return true; |
389 } | 389 } |
390 | 390 |
391 } // namespace cricket | 391 } // namespace cricket |
OLD | NEW |