| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2016 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/api/rtcstatscollector.h" | 11 #include "webrtc/pc/rtcstatscollector.h" |
| 12 | 12 |
| 13 #include <memory> | 13 #include <memory> |
| 14 #include <utility> | 14 #include <utility> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "webrtc/api/peerconnection.h" | 17 #include "webrtc/api/mediastreaminterface.h" |
| 18 #include "webrtc/api/peerconnectioninterface.h" | 18 #include "webrtc/api/peerconnectioninterface.h" |
| 19 #include "webrtc/api/mediastreaminterface.h" | |
| 20 #include "webrtc/api/webrtcsession.h" | |
| 21 #include "webrtc/base/checks.h" | 19 #include "webrtc/base/checks.h" |
| 22 #include "webrtc/base/timeutils.h" | 20 #include "webrtc/base/timeutils.h" |
| 23 #include "webrtc/media/base/mediachannel.h" | 21 #include "webrtc/media/base/mediachannel.h" |
| 24 #include "webrtc/p2p/base/candidate.h" | 22 #include "webrtc/p2p/base/candidate.h" |
| 25 #include "webrtc/p2p/base/p2pconstants.h" | 23 #include "webrtc/p2p/base/p2pconstants.h" |
| 26 #include "webrtc/p2p/base/port.h" | 24 #include "webrtc/p2p/base/port.h" |
| 25 #include "webrtc/pc/peerconnection.h" |
| 26 #include "webrtc/pc/webrtcsession.h" |
| 27 | 27 |
| 28 namespace webrtc { | 28 namespace webrtc { |
| 29 | 29 |
| 30 namespace { | 30 namespace { |
| 31 | 31 |
| 32 std::string RTCCertificateIDFromFingerprint(const std::string& fingerprint) { | 32 std::string RTCCertificateIDFromFingerprint(const std::string& fingerprint) { |
| 33 return "RTCCertificate_" + fingerprint; | 33 return "RTCCertificate_" + fingerprint; |
| 34 } | 34 } |
| 35 | 35 |
| 36 std::string RTCCodecStatsIDFromDirectionMediaAndPayload( | 36 std::string RTCCodecStatsIDFromDirectionMediaAndPayload( |
| (...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 928 const std::string& type) { | 928 const std::string& type) { |
| 929 return CandidateTypeToRTCIceCandidateType(type); | 929 return CandidateTypeToRTCIceCandidateType(type); |
| 930 } | 930 } |
| 931 | 931 |
| 932 const char* DataStateToRTCDataChannelStateForTesting( | 932 const char* DataStateToRTCDataChannelStateForTesting( |
| 933 DataChannelInterface::DataState state) { | 933 DataChannelInterface::DataState state) { |
| 934 return DataStateToRTCDataChannelState(state); | 934 return DataStateToRTCDataChannelState(state); |
| 935 } | 935 } |
| 936 | 936 |
| 937 } // namespace webrtc | 937 } // namespace webrtc |
| OLD | NEW |