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

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

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (Closed)
Patch Set: Rebase Created 4 years 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 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 #ifndef WEBRTC_API_PEERCONNECTION_H_ 11 #ifndef WEBRTC_PC_PEERCONNECTION_H_
12 #define WEBRTC_API_PEERCONNECTION_H_ 12 #define WEBRTC_PC_PEERCONNECTION_H_
13 13
14 #include <string> 14 #include <string>
15 #include <map> 15 #include <map>
16 #include <memory> 16 #include <memory>
17 #include <vector> 17 #include <vector>
18 18
19 #include "webrtc/api/peerconnectionfactory.h"
20 #include "webrtc/api/peerconnectioninterface.h" 19 #include "webrtc/api/peerconnectioninterface.h"
21 #include "webrtc/api/rtcstatscollector.h" 20 #include "webrtc/pc/peerconnectionfactory.h"
22 #include "webrtc/api/rtpreceiver.h" 21 #include "webrtc/pc/rtcstatscollector.h"
23 #include "webrtc/api/rtpsender.h" 22 #include "webrtc/pc/rtpreceiver.h"
24 #include "webrtc/api/statscollector.h" 23 #include "webrtc/pc/rtpsender.h"
25 #include "webrtc/api/streamcollection.h" 24 #include "webrtc/pc/statscollector.h"
26 #include "webrtc/api/webrtcsession.h" 25 #include "webrtc/pc/streamcollection.h"
26 #include "webrtc/pc/webrtcsession.h"
27 27
28 namespace webrtc { 28 namespace webrtc {
29 29
30 class MediaStreamObserver; 30 class MediaStreamObserver;
31 class VideoRtpReceiver; 31 class VideoRtpReceiver;
32 class RtcEventLog; 32 class RtcEventLog;
33 33
34 // Populates |session_options| from |rtc_options|, and returns true if options 34 // Populates |session_options| from |rtc_options|, and returns true if options
35 // are valid. 35 // are valid.
36 // |session_options|->transport_options map entries must exist in order for 36 // |session_options|->transport_options map entries must exist in order for
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 std::vector< 427 std::vector<
428 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> 428 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>>
429 receivers_; 429 receivers_;
430 std::unique_ptr<WebRtcSession> session_; 430 std::unique_ptr<WebRtcSession> session_;
431 std::unique_ptr<StatsCollector> stats_; 431 std::unique_ptr<StatsCollector> stats_;
432 rtc::scoped_refptr<RTCStatsCollector> stats_collector_; 432 rtc::scoped_refptr<RTCStatsCollector> stats_collector_;
433 }; 433 };
434 434
435 } // namespace webrtc 435 } // namespace webrtc
436 436
437 #endif // WEBRTC_API_PEERCONNECTION_H_ 437 #endif // WEBRTC_PC_PEERCONNECTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698