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

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

Issue 2706563003: Create the API that returns the RTCConfiguration of the PeerConnection.
Patch Set: rebaselining Created 3 years, 9 months 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) 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_RTC_PEER_CONNECTION_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 const blink::WebRTCSessionDescription& description) override; 128 const blink::WebRTCSessionDescription& description) override;
129 void setRemoteDescription( 129 void setRemoteDescription(
130 const blink::WebRTCVoidRequest& request, 130 const blink::WebRTCVoidRequest& request,
131 const blink::WebRTCSessionDescription& description) override; 131 const blink::WebRTCSessionDescription& description) override;
132 132
133 blink::WebRTCSessionDescription localDescription() override; 133 blink::WebRTCSessionDescription localDescription() override;
134 blink::WebRTCSessionDescription remoteDescription() override; 134 blink::WebRTCSessionDescription remoteDescription() override;
135 135
136 blink::WebRTCErrorType setConfiguration( 136 blink::WebRTCErrorType setConfiguration(
137 const blink::WebRTCConfiguration& configuration) override; 137 const blink::WebRTCConfiguration& configuration) override;
138 blink::WebRTCConfiguration getConfiguration() override;
139
138 bool addICECandidate(const blink::WebRTCICECandidate& candidate) override; 140 bool addICECandidate(const blink::WebRTCICECandidate& candidate) override;
139 bool addICECandidate(const blink::WebRTCVoidRequest& request, 141 bool addICECandidate(const blink::WebRTCVoidRequest& request,
140 const blink::WebRTCICECandidate& candidate) override; 142 const blink::WebRTCICECandidate& candidate) override;
141 virtual void OnaddICECandidateResult(const blink::WebRTCVoidRequest& request, 143 virtual void OnaddICECandidateResult(const blink::WebRTCVoidRequest& request,
142 bool result); 144 bool result);
143 145
144 bool addStream(const blink::WebMediaStream& stream, 146 bool addStream(const blink::WebMediaStream& stream,
145 const blink::WebMediaConstraints& options) override; 147 const blink::WebMediaConstraints& options) override;
146 void removeStream(const blink::WebMediaStream& stream) override; 148 void removeStream(const blink::WebMediaStream& stream) override;
147 void getStats(const blink::WebRTCStatsRequest& request) override; 149 void getStats(const blink::WebRTCStatsRequest& request) override;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 bool ice_state_seen_[webrtc::PeerConnectionInterface::kIceConnectionMax] = {}; 294 bool ice_state_seen_[webrtc::PeerConnectionInterface::kIceConnectionMax] = {};
293 295
294 base::WeakPtrFactory<RTCPeerConnectionHandler> weak_factory_; 296 base::WeakPtrFactory<RTCPeerConnectionHandler> weak_factory_;
295 297
296 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); 298 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler);
297 }; 299 };
298 300
299 } // namespace content 301 } // namespace content
300 302
301 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ 303 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698