OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2011 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_STREAMCOLLECTION_H_ | 11 #ifndef WEBRTC_PC_STREAMCOLLECTION_H_ |
12 #define WEBRTC_API_STREAMCOLLECTION_H_ | 12 #define WEBRTC_PC_STREAMCOLLECTION_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/api/peerconnectioninterface.h" | 17 #include "webrtc/api/peerconnectioninterface.h" |
18 | 18 |
19 namespace webrtc { | 19 namespace webrtc { |
20 | 20 |
21 // Implementation of StreamCollection. | 21 // Implementation of StreamCollection. |
22 class StreamCollection : public StreamCollectionInterface { | 22 class StreamCollection : public StreamCollectionInterface { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 explicit StreamCollection(StreamCollection* original) | 98 explicit StreamCollection(StreamCollection* original) |
99 : media_streams_(original->media_streams_) { | 99 : media_streams_(original->media_streams_) { |
100 } | 100 } |
101 typedef std::vector<rtc::scoped_refptr<MediaStreamInterface> > | 101 typedef std::vector<rtc::scoped_refptr<MediaStreamInterface> > |
102 StreamVector; | 102 StreamVector; |
103 StreamVector media_streams_; | 103 StreamVector media_streams_; |
104 }; | 104 }; |
105 | 105 |
106 } // namespace webrtc | 106 } // namespace webrtc |
107 | 107 |
108 #endif // WEBRTC_API_STREAMCOLLECTION_H_ | 108 #endif // WEBRTC_PC_STREAMCOLLECTION_H_ |
OLD | NEW |