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

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

Issue 16232004: Adds DataChannelInit param to createDataChannel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 virtual bool addStream( 122 virtual bool addStream(
123 const WebKit::WebMediaStream& stream, 123 const WebKit::WebMediaStream& stream,
124 const WebKit::WebMediaConstraints& options) OVERRIDE; 124 const WebKit::WebMediaConstraints& options) OVERRIDE;
125 virtual void removeStream( 125 virtual void removeStream(
126 const WebKit::WebMediaStream& stream) OVERRIDE; 126 const WebKit::WebMediaStream& stream) OVERRIDE;
127 virtual void getStats( 127 virtual void getStats(
128 const WebKit::WebRTCStatsRequest& request) OVERRIDE; 128 const WebKit::WebRTCStatsRequest& request) OVERRIDE;
129 virtual WebKit::WebRTCDataChannelHandler* createDataChannel( 129 virtual WebKit::WebRTCDataChannelHandler* createDataChannel(
130 const WebKit::WebString& label, bool reliable) OVERRIDE; 130 const WebKit::WebString& label, bool reliable) OVERRIDE;
131 virtual WebKit::WebRTCDataChannelHandler* createDataChannel(
132 const WebKit::WebString& label,
133 const WebKit::WebRTCDataChannelInit& init) OVERRIDE;
Ami GONE FROM CHROMIUM 2013/06/03 18:27:31 FYI if you remove OVERRIDE you can land CLs a bit
jiayl 2013/06/03 18:52:58 Hmm, but I still depend on the definition of DataC
Ami GONE FROM CHROMIUM 2013/06/03 19:32:19 True; this would just allow you to remove the old
jiayl 2013/06/03 19:54:51 I see. Makes sense! On 2013/06/03 19:32:19, Ami Fi
131 virtual WebKit::WebRTCDTMFSenderHandler* createDTMFSender( 134 virtual WebKit::WebRTCDTMFSenderHandler* createDTMFSender(
132 const WebKit::WebMediaStreamTrack& track) OVERRIDE; 135 const WebKit::WebMediaStreamTrack& track) OVERRIDE;
133 virtual void stop() OVERRIDE; 136 virtual void stop() OVERRIDE;
134 137
135 // webrtc::PeerConnectionObserver implementation 138 // webrtc::PeerConnectionObserver implementation
136 virtual void OnError() OVERRIDE; 139 virtual void OnError() OVERRIDE;
137 // Triggered when the SignalingState changed. 140 // Triggered when the SignalingState changed.
138 virtual void OnSignalingChange( 141 virtual void OnSignalingChange(
139 webrtc::PeerConnectionInterface::SignalingState new_state) OVERRIDE; 142 webrtc::PeerConnectionInterface::SignalingState new_state) OVERRIDE;
140 virtual void OnAddStream(webrtc::MediaStreamInterface* stream) OVERRIDE; 143 virtual void OnAddStream(webrtc::MediaStreamInterface* stream) OVERRIDE;
(...skipping 30 matching lines...) Expand all
171 WebKit::WebFrame* frame_; 174 WebKit::WebFrame* frame_;
172 175
173 PeerConnectionTracker* peer_connection_tracker_; 176 PeerConnectionTracker* peer_connection_tracker_;
174 177
175 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); 178 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler);
176 }; 179 };
177 180
178 } // namespace content 181 } // namespace content
179 182
180 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ 183 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698