| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_PEER_CONNECTION_TRACKER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_PEER_CONNECTION_TRACKER_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_PEER_CONNECTION_TRACKER_H_ | 6 #define CONTENT_RENDERER_MEDIA_PEER_CONNECTION_TRACKER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 class WebString; | 25 class WebString; |
| 26 class WebRTCSessionDescription; | 26 class WebRTCSessionDescription; |
| 27 class WebUserMediaRequest; | 27 class WebUserMediaRequest; |
| 28 } // namespace blink | 28 } // namespace blink |
| 29 | 29 |
| 30 namespace webrtc { | 30 namespace webrtc { |
| 31 class DataChannelInterface; | 31 class DataChannelInterface; |
| 32 } // namespace webrtc | 32 } // namespace webrtc |
| 33 | 33 |
| 34 namespace content { | 34 namespace content { |
| 35 class RTCMediaConstraints; | |
| 36 class RTCPeerConnectionHandler; | 35 class RTCPeerConnectionHandler; |
| 37 class RenderThread; | 36 class RenderThread; |
| 38 | 37 |
| 39 // This class collects data about each peer connection, | 38 // This class collects data about each peer connection, |
| 40 // sends it to the browser process, and handles messages | 39 // sends it to the browser process, and handles messages |
| 41 // from the browser process. | 40 // from the browser process. |
| 42 class CONTENT_EXPORT PeerConnectionTracker | 41 class CONTENT_EXPORT PeerConnectionTracker |
| 43 : public RenderProcessObserver, | 42 : public RenderProcessObserver, |
| 44 public base::SupportsWeakPtr<PeerConnectionTracker> { | 43 public base::SupportsWeakPtr<PeerConnectionTracker> { |
| 45 public: | 44 public: |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 int next_local_id_; | 209 int next_local_id_; |
| 211 base::ThreadChecker main_thread_; | 210 base::ThreadChecker main_thread_; |
| 212 RenderThread* send_target_for_test_; | 211 RenderThread* send_target_for_test_; |
| 213 | 212 |
| 214 DISALLOW_COPY_AND_ASSIGN(PeerConnectionTracker); | 213 DISALLOW_COPY_AND_ASSIGN(PeerConnectionTracker); |
| 215 }; | 214 }; |
| 216 | 215 |
| 217 } // namespace content | 216 } // namespace content |
| 218 | 217 |
| 219 #endif // CONTENT_RENDERER_MEDIA_PEER_CONNECTION_TRACKER_H_ | 218 #endif // CONTENT_RENDERER_MEDIA_PEER_CONNECTION_TRACKER_H_ |
| OLD | NEW |