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

Side by Side Diff: content/renderer/media/peer_connection_tracker.h

Issue 675013005: Split libjingle's signaling thread from the UI thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update tests, remove circular dependency Created 6 years, 1 month 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 // 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_PEERCONNECTION_TRACKER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_PEERCONNECTION_TRACKER_H_
6 #define CONTENT_RENDERER_MEDIA_PEERCONNECTION_TRACKER_H_ 6 #define CONTENT_RENDERER_MEDIA_PEERCONNECTION_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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // The |pc_handler| is the handler object associated with the PeerConnection, 81 // The |pc_handler| is the handler object associated with the PeerConnection,
82 // the |constraints| is the media constraints used to create the offer/answer. 82 // the |constraints| is the media constraints used to create the offer/answer.
83 virtual void TrackCreateOffer(RTCPeerConnectionHandler* pc_handler, 83 virtual void TrackCreateOffer(RTCPeerConnectionHandler* pc_handler,
84 const RTCMediaConstraints& constraints); 84 const RTCMediaConstraints& constraints);
85 virtual void TrackCreateAnswer(RTCPeerConnectionHandler* pc_handler, 85 virtual void TrackCreateAnswer(RTCPeerConnectionHandler* pc_handler,
86 const RTCMediaConstraints& constraints); 86 const RTCMediaConstraints& constraints);
87 87
88 // Sends an update when setLocalDescription or setRemoteDescription is called. 88 // Sends an update when setLocalDescription or setRemoteDescription is called.
89 virtual void TrackSetSessionDescription( 89 virtual void TrackSetSessionDescription(
90 RTCPeerConnectionHandler* pc_handler, 90 RTCPeerConnectionHandler* pc_handler,
91 const blink::WebRTCSessionDescription& desc, Source source); 91 const std::string& sdp, const std::string& type, Source source);
92 92
93 // Sends an update when Ice candidates are updated. 93 // Sends an update when Ice candidates are updated.
94 virtual void TrackUpdateIce( 94 virtual void TrackUpdateIce(
95 RTCPeerConnectionHandler* pc_handler, 95 RTCPeerConnectionHandler* pc_handler,
96 const webrtc::PeerConnectionInterface::RTCConfiguration& config, 96 const webrtc::PeerConnectionInterface::RTCConfiguration& config,
97 const RTCMediaConstraints& options); 97 const RTCMediaConstraints& options);
98 98
99 // Sends an update when an Ice candidate is added. 99 // Sends an update when an Ice candidate is added.
100 virtual void TrackAddIceCandidate( 100 virtual void TrackAddIceCandidate(
101 RTCPeerConnectionHandler* pc_handler, 101 RTCPeerConnectionHandler* pc_handler,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // This keeps track of the next available local ID. 178 // This keeps track of the next available local ID.
179 int next_lid_; 179 int next_lid_;
180 base::ThreadChecker main_thread_; 180 base::ThreadChecker main_thread_;
181 181
182 DISALLOW_COPY_AND_ASSIGN(PeerConnectionTracker); 182 DISALLOW_COPY_AND_ASSIGN(PeerConnectionTracker);
183 }; 183 };
184 184
185 } // namespace content 185 } // namespace content
186 186
187 #endif // CONTENT_RENDERER_MEDIA_PEERCONNECTION_TRACKER_H_ 187 #endif // CONTENT_RENDERER_MEDIA_PEERCONNECTION_TRACKER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_video_track.cc ('k') | content/renderer/media/peer_connection_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698