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

Side by Side Diff: Source/modules/mediastream/RTCPeerConnection.h

Issue 16753003: Revert "Remove MediaStreamDescriptor and call/use WebMediaStream directly" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 DEFINE_ATTRIBUTE_EVENT_LISTENER(removestream); 106 DEFINE_ATTRIBUTE_EVENT_LISTENER(removestream);
107 DEFINE_ATTRIBUTE_EVENT_LISTENER(iceconnectionstatechange); 107 DEFINE_ATTRIBUTE_EVENT_LISTENER(iceconnectionstatechange);
108 DEFINE_ATTRIBUTE_EVENT_LISTENER(datachannel); 108 DEFINE_ATTRIBUTE_EVENT_LISTENER(datachannel);
109 109
110 // RTCPeerConnectionHandlerClient 110 // RTCPeerConnectionHandlerClient
111 virtual void negotiationNeeded() OVERRIDE; 111 virtual void negotiationNeeded() OVERRIDE;
112 virtual void didGenerateIceCandidate(WebKit::WebRTCICECandidate) OVERRIDE; 112 virtual void didGenerateIceCandidate(WebKit::WebRTCICECandidate) OVERRIDE;
113 virtual void didChangeSignalingState(SignalingState) OVERRIDE; 113 virtual void didChangeSignalingState(SignalingState) OVERRIDE;
114 virtual void didChangeIceGatheringState(IceGatheringState) OVERRIDE; 114 virtual void didChangeIceGatheringState(IceGatheringState) OVERRIDE;
115 virtual void didChangeIceConnectionState(IceConnectionState) OVERRIDE; 115 virtual void didChangeIceConnectionState(IceConnectionState) OVERRIDE;
116 virtual void didAddRemoteStream(WebKit::WebMediaStream) OVERRIDE; 116 virtual void didAddRemoteStream(PassRefPtr<MediaStreamDescriptor>) OVERRIDE;
117 virtual void didRemoveRemoteStream(WebKit::WebMediaStream) OVERRIDE; 117 virtual void didRemoveRemoteStream(MediaStreamDescriptor*) OVERRIDE;
118 virtual void didAddRemoteDataChannel(PassOwnPtr<RTCDataChannelHandler>) OVER RIDE; 118 virtual void didAddRemoteDataChannel(PassOwnPtr<RTCDataChannelHandler>) OVER RIDE;
119 119
120 // EventTarget 120 // EventTarget
121 virtual const AtomicString& interfaceName() const OVERRIDE; 121 virtual const AtomicString& interfaceName() const OVERRIDE;
122 virtual ScriptExecutionContext* scriptExecutionContext() const OVERRIDE; 122 virtual ScriptExecutionContext* scriptExecutionContext() const OVERRIDE;
123 123
124 // ActiveDOMObject 124 // ActiveDOMObject
125 virtual void stop() OVERRIDE; 125 virtual void stop() OVERRIDE;
126 126
127 using RefCounted<RTCPeerConnection>::ref; 127 using RefCounted<RTCPeerConnection>::ref;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 Timer<RTCPeerConnection> m_scheduledEventTimer; 160 Timer<RTCPeerConnection> m_scheduledEventTimer;
161 Vector<RefPtr<Event> > m_scheduledEvents; 161 Vector<RefPtr<Event> > m_scheduledEvents;
162 162
163 bool m_stopped; 163 bool m_stopped;
164 }; 164 };
165 165
166 } // namespace WebCore 166 } // namespace WebCore
167 167
168 #endif // RTCPeerConnection_h 168 #endif // RTCPeerConnection_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCDTMFSender.cpp ('k') | Source/modules/mediastream/RTCPeerConnection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698