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

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

Issue 10837118: Dead code elimination: scythe.chrome_functions:segment.path %media% edition, round 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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_MEDIA_STREAM_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 void InitializeWorkerThread(talk_base::Thread** thread, 174 void InitializeWorkerThread(talk_base::Thread** thread,
175 base::WaitableEvent* event); 175 base::WaitableEvent* event);
176 176
177 void CreateIpcNetworkManagerOnWorkerThread(base::WaitableEvent* event); 177 void CreateIpcNetworkManagerOnWorkerThread(base::WaitableEvent* event);
178 void DeleteIpcNetworkManager(); 178 void DeleteIpcNetworkManager();
179 179
180 bool EnsurePeerConnectionFactory(); 180 bool EnsurePeerConnectionFactory();
181 void CleanupPeerConnectionFactory(); 181 void CleanupPeerConnectionFactory();
182 182
183 PeerConnectionHandlerBase* FindPeerConnectionByStream(
184 const WebKit::WebMediaStreamDescriptor& stream);
185 scoped_refptr<media::VideoDecoder> CreateLocalVideoDecoder( 183 scoped_refptr<media::VideoDecoder> CreateLocalVideoDecoder(
186 webrtc::MediaStreamInterface* stream, 184 webrtc::MediaStreamInterface* stream,
187 media::MessageLoopFactory* message_loop_factory); 185 media::MessageLoopFactory* message_loop_factory);
188 scoped_refptr<media::VideoDecoder> CreateRemoteVideoDecoder( 186 scoped_refptr<media::VideoDecoder> CreateRemoteVideoDecoder(
189 webrtc::MediaStreamInterface* stream, 187 webrtc::MediaStreamInterface* stream,
190 media::MessageLoopFactory* message_loop_factory); 188 media::MessageLoopFactory* message_loop_factory);
191 LocalNativeStreamPtr CreateNativeLocalMediaStream( 189 LocalNativeStreamPtr CreateNativeLocalMediaStream(
192 const std::string& label, 190 const std::string& label,
193 WebKit::WebFrame* frame, 191 WebKit::WebFrame* frame,
194 const WebKit::WebVector<WebKit::WebMediaStreamSource>& audio_sources, 192 const WebKit::WebVector<WebKit::WebMediaStreamSource>& audio_sources,
(...skipping 21 matching lines...) Expand all
216 // PeerConnection threads. signaling_thread_ is created from the 214 // PeerConnection threads. signaling_thread_ is created from the
217 // "current" chrome thread. 215 // "current" chrome thread.
218 talk_base::Thread* signaling_thread_; 216 talk_base::Thread* signaling_thread_;
219 talk_base::Thread* worker_thread_; 217 talk_base::Thread* worker_thread_;
220 base::Thread chrome_worker_thread_; 218 base::Thread chrome_worker_thread_;
221 219
222 DISALLOW_COPY_AND_ASSIGN(MediaStreamImpl); 220 DISALLOW_COPY_AND_ASSIGN(MediaStreamImpl);
223 }; 221 };
224 222
225 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_IMPL_H_ 223 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698