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

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

Issue 120893002: Eliminate video capture thread in renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 6 years, 12 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_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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 class InputEventFilter; 85 class InputEventFilter;
86 class InputHandlerManager; 86 class InputHandlerManager;
87 class MediaStreamCenter; 87 class MediaStreamCenter;
88 class MediaStreamDependencyFactory; 88 class MediaStreamDependencyFactory;
89 class MIDIMessageFilter; 89 class MIDIMessageFilter;
90 class P2PSocketDispatcher; 90 class P2PSocketDispatcher;
91 class PeerConnectionTracker; 91 class PeerConnectionTracker;
92 class RendererDemuxerAndroid; 92 class RendererDemuxerAndroid;
93 class RendererWebKitPlatformSupportImpl; 93 class RendererWebKitPlatformSupportImpl;
94 class RenderProcessObserver; 94 class RenderProcessObserver;
95 class VideoCaptureImplManager; 95 class VideoCaptureImplManager;
Ami GONE FROM CHROMIUM 2014/01/06 23:37:14 IMO this is worse than #include'ing v_c_i_m.h in t
Alpha Left Google 2014/01/08 00:23:36 This seems to be the style used throughout this fi
96 class WebGraphicsContext3DCommandBufferImpl; 96 class WebGraphicsContext3DCommandBufferImpl;
97 class WebRTCIdentityService; 97 class WebRTCIdentityService;
98 98
99 // The RenderThreadImpl class represents a background thread where RenderView 99 // The RenderThreadImpl class represents a background thread where RenderView
100 // instances live. The RenderThread supports an API that is used by its 100 // instances live. The RenderThread supports an API that is used by its
101 // consumer to talk indirectly to the RenderViews and supporting objects. 101 // consumer to talk indirectly to the RenderViews and supporting objects.
102 // Likewise, it provides an API for the RenderViews to talk back to the main 102 // Likewise, it provides an API for the RenderViews to talk back to the main
103 // process (i.e., their corresponding WebContentsImpl). 103 // process (i.e., their corresponding WebContentsImpl).
104 // 104 //
105 // Most of the communication occurs in the form of IPC messages. They are 105 // Most of the communication occurs in the form of IPC messages. They are
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 425
426 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; 426 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_;
427 427
428 // This is used to communicate to the browser process the status 428 // This is used to communicate to the browser process the status
429 // of all the peer connections created in the renderer. 429 // of all the peer connections created in the renderer.
430 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; 430 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_;
431 431
432 // Dispatches all P2P sockets. 432 // Dispatches all P2P sockets.
433 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; 433 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_;
434 434
435 // Used on multiple threads. 435 // Used on multiple threads.
Ami GONE FROM CHROMIUM 2014/01/06 23:37:14 This comment is now a lie.
Alpha Left Google 2014/01/08 00:23:36 Done.
436 scoped_refptr<VideoCaptureImplManager> vc_manager_; 436 scoped_ptr<VideoCaptureImplManager> vc_manager_;
437 437
438 #if defined(OS_WIN) 438 #if defined(OS_WIN)
439 // Initialize COM when using plugins outside the sandbox. 439 // Initialize COM when using plugins outside the sandbox.
440 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; 440 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_;
441 #endif 441 #endif
442 442
443 // The count of RenderWidgets running through this thread. 443 // The count of RenderWidgets running through this thread.
444 int widget_count_; 444 int widget_count_;
445 445
446 // The count of hidden RenderWidgets running through this thread. 446 // The count of hidden RenderWidgets running through this thread.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 // multiple threads. Current allocation mechanism for IOSurface 511 // multiple threads. Current allocation mechanism for IOSurface
512 // backed GpuMemoryBuffers prevent this. crbug.com/325045 512 // backed GpuMemoryBuffers prevent this. crbug.com/325045
513 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; 513 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_;
514 514
515 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 515 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
516 }; 516 };
517 517
518 } // namespace content 518 } // namespace content
519 519
520 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 520 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698