| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_IMPL_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_IMPL_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 MediaStreamTrackPtr; | 194 MediaStreamTrackPtr; |
| 195 typedef std::map<std::string, MediaStreamTrackPtr> MediaStreamTrackPtrMap; | 195 typedef std::map<std::string, MediaStreamTrackPtr> MediaStreamTrackPtrMap; |
| 196 MediaStreamTrackPtrMap local_tracks_; | 196 MediaStreamTrackPtrMap local_tracks_; |
| 197 | 197 |
| 198 // PeerConnection threads. signaling_thread_ is created from the | 198 // PeerConnection threads. signaling_thread_ is created from the |
| 199 // "current" chrome thread. | 199 // "current" chrome thread. |
| 200 talk_base::Thread* signaling_thread_; | 200 talk_base::Thread* signaling_thread_; |
| 201 talk_base::Thread* worker_thread_; | 201 talk_base::Thread* worker_thread_; |
| 202 base::Thread chrome_worker_thread_; | 202 base::Thread chrome_worker_thread_; |
| 203 | 203 |
| 204 static int next_request_id_; | |
| 205 typedef std::map<int, WebKit::WebUserMediaRequest> MediaRequestMap; | 204 typedef std::map<int, WebKit::WebUserMediaRequest> MediaRequestMap; |
| 206 MediaRequestMap user_media_requests_; | 205 MediaRequestMap user_media_requests_; |
| 207 | 206 |
| 208 DISALLOW_COPY_AND_ASSIGN(MediaStreamImpl); | 207 DISALLOW_COPY_AND_ASSIGN(MediaStreamImpl); |
| 209 }; | 208 }; |
| 210 | 209 |
| 211 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_IMPL_H_ | 210 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_IMPL_H_ |
| OLD | NEW |