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

Side by Side Diff: webrtc/pc/statscollector.h

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (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/pc/sctputils_unittest.cc ('k') | webrtc/pc/statscollector.cc » ('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 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 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 // This file contains a class used for gathering statistics from an ongoing 11 // This file contains a class used for gathering statistics from an ongoing
12 // libjingle PeerConnection. 12 // libjingle PeerConnection.
13 13
14 #ifndef WEBRTC_API_STATSCOLLECTOR_H_ 14 #ifndef WEBRTC_PC_STATSCOLLECTOR_H_
15 #define WEBRTC_API_STATSCOLLECTOR_H_ 15 #define WEBRTC_PC_STATSCOLLECTOR_H_
16 16
17 #include <map> 17 #include <map>
18 #include <string> 18 #include <string>
19 #include <vector> 19 #include <vector>
20 20
21 #include "webrtc/api/mediastreaminterface.h" 21 #include "webrtc/api/mediastreaminterface.h"
22 #include "webrtc/api/peerconnectioninterface.h" 22 #include "webrtc/api/peerconnectioninterface.h"
23 #include "webrtc/api/statstypes.h" 23 #include "webrtc/api/statstypes.h"
24 #include "webrtc/api/webrtcsession.h" 24 #include "webrtc/pc/webrtcsession.h"
25 25
26 namespace webrtc { 26 namespace webrtc {
27 27
28 class PeerConnection; 28 class PeerConnection;
29 29
30 // Conversion function to convert candidate type string to the corresponding one 30 // Conversion function to convert candidate type string to the corresponding one
31 // from enum RTCStatsIceCandidateType. 31 // from enum RTCStatsIceCandidateType.
32 const char* IceCandidateTypeToStatsType(const std::string& candidate_type); 32 const char* IceCandidateTypeToStatsType(const std::string& candidate_type);
33 33
34 // Conversion function to convert adapter type to report string which are more 34 // Conversion function to convert adapter type to report string which are more
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 // TODO(tommi): We appear to be holding on to raw pointers to reference 143 // TODO(tommi): We appear to be holding on to raw pointers to reference
144 // counted objects? We should be using scoped_refptr here. 144 // counted objects? We should be using scoped_refptr here.
145 typedef std::vector<std::pair<AudioTrackInterface*, uint32_t> > 145 typedef std::vector<std::pair<AudioTrackInterface*, uint32_t> >
146 LocalAudioTrackVector; 146 LocalAudioTrackVector;
147 LocalAudioTrackVector local_audio_tracks_; 147 LocalAudioTrackVector local_audio_tracks_;
148 }; 148 };
149 149
150 } // namespace webrtc 150 } // namespace webrtc
151 151
152 #endif // WEBRTC_API_STATSCOLLECTOR_H_ 152 #endif // WEBRTC_PC_STATSCOLLECTOR_H_
OLDNEW
« no previous file with comments | « webrtc/pc/sctputils_unittest.cc ('k') | webrtc/pc/statscollector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698