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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 960103002: Rename VideoCaptureImplManager to VideoCaptureService Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix some nits Created 5 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_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 class NetInfoDispatcher; 97 class NetInfoDispatcher;
98 class P2PSocketDispatcher; 98 class P2PSocketDispatcher;
99 class PeerConnectionTracker; 99 class PeerConnectionTracker;
100 class RenderProcessObserver; 100 class RenderProcessObserver;
101 class RendererBlinkPlatformImpl; 101 class RendererBlinkPlatformImpl;
102 class RendererDemuxerAndroid; 102 class RendererDemuxerAndroid;
103 class RendererScheduler; 103 class RendererScheduler;
104 class ResourceDispatchThrottler; 104 class ResourceDispatchThrottler;
105 class ResourceSchedulingFilter; 105 class ResourceSchedulingFilter;
106 class V8SamplingProfiler; 106 class V8SamplingProfiler;
107 class VideoCaptureImplManager; 107 class VideoCaptureService;
108 class WebGraphicsContext3DCommandBufferImpl; 108 class WebGraphicsContext3DCommandBufferImpl;
109 class WebRTCIdentityService; 109 class WebRTCIdentityService;
110 110
111 #if defined(COMPILER_MSVC) 111 #if defined(COMPILER_MSVC)
112 // See explanation for other RenderViewHostImpl which is the same issue. 112 // See explanation for other RenderViewHostImpl which is the same issue.
113 #pragma warning(push) 113 #pragma warning(push)
114 #pragma warning(disable: 4250) 114 #pragma warning(disable: 4250)
115 #endif 115 #endif
116 116
117 // The RenderThreadImpl class represents a background thread where RenderView 117 // The RenderThreadImpl class represents a background thread where RenderView
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 PeerConnectionTracker* peer_connection_tracker() { 293 PeerConnectionTracker* peer_connection_tracker() {
294 return peer_connection_tracker_.get(); 294 return peer_connection_tracker_.get();
295 } 295 }
296 296
297 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. 297 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled.
298 P2PSocketDispatcher* p2p_socket_dispatcher() { 298 P2PSocketDispatcher* p2p_socket_dispatcher() {
299 return p2p_socket_dispatcher_.get(); 299 return p2p_socket_dispatcher_.get();
300 } 300 }
301 #endif 301 #endif
302 302
303 VideoCaptureImplManager* video_capture_impl_manager() const { 303 VideoCaptureService* video_capture_service() const {
304 return vc_manager_.get(); 304 return vc_manager_.get();
305 } 305 }
306 306
307 // Get the GPU channel. Returns NULL if the channel is not established or 307 // Get the GPU channel. Returns NULL if the channel is not established or
308 // has been lost. 308 // has been lost.
309 GpuChannelHost* GetGpuChannel(); 309 GpuChannelHost* GetGpuChannel();
310 310
311 // Returns a MessageLoopProxy instance corresponding to the message loop 311 // Returns a MessageLoopProxy instance corresponding to the message loop
312 // of the thread on which file operations should be run. Must be called 312 // of the thread on which file operations should be run. Must be called
313 // on the renderer's main thread. 313 // on the renderer's main thread.
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 501
502 // This is used to communicate to the browser process the status 502 // This is used to communicate to the browser process the status
503 // of all the peer connections created in the renderer. 503 // of all the peer connections created in the renderer.
504 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; 504 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_;
505 505
506 // Dispatches all P2P sockets. 506 // Dispatches all P2P sockets.
507 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; 507 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_;
508 #endif 508 #endif
509 509
510 // Used on the render thread. 510 // Used on the render thread.
511 scoped_ptr<VideoCaptureImplManager> vc_manager_; 511 scoped_ptr<VideoCaptureService> vc_manager_;
512 512
513 // Used for communicating registering AEC dump consumers with the browser and 513 // Used for communicating registering AEC dump consumers with the browser and
514 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is 514 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is
515 // diagnostic audio data for WebRTC stored locally when enabled by the user in 515 // diagnostic audio data for WebRTC stored locally when enabled by the user in
516 // chrome://webrtc-internals. 516 // chrome://webrtc-internals.
517 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_; 517 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_;
518 518
519 // The count of RenderWidgets running through this thread. 519 // The count of RenderWidgets running through this thread.
520 int widget_count_; 520 int widget_count_;
521 521
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 628 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
629 }; 629 };
630 630
631 #if defined(COMPILER_MSVC) 631 #if defined(COMPILER_MSVC)
632 #pragma warning(pop) 632 #pragma warning(pop)
633 #endif 633 #endif
634 634
635 } // namespace content 635 } // namespace content
636 636
637 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 637 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698