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

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

Issue 135683002: Revert 244074 "Eliminate video capture thread in renderer" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 424
425 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; 425 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_;
426 426
427 // This is used to communicate to the browser process the status 427 // This is used to communicate to the browser process the status
428 // of all the peer connections created in the renderer. 428 // of all the peer connections created in the renderer.
429 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; 429 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_;
430 430
431 // Dispatches all P2P sockets. 431 // Dispatches all P2P sockets.
432 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; 432 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_;
433 433
434 // Used on the render thread. 434 // Used on multiple threads.
435 scoped_ptr<VideoCaptureImplManager> vc_manager_; 435 scoped_refptr<VideoCaptureImplManager> vc_manager_;
436 436
437 // The count of RenderWidgets running through this thread. 437 // The count of RenderWidgets running through this thread.
438 int widget_count_; 438 int widget_count_;
439 439
440 // The count of hidden RenderWidgets running through this thread. 440 // The count of hidden RenderWidgets running through this thread.
441 int hidden_widget_count_; 441 int hidden_widget_count_;
442 442
443 // The current value of the idle notification timer delay. 443 // The current value of the idle notification timer delay.
444 int64 idle_notification_delay_in_ms_; 444 int64 idle_notification_delay_in_ms_;
445 445
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 // multiple threads. Current allocation mechanism for IOSurface 505 // multiple threads. Current allocation mechanism for IOSurface
506 // backed GpuMemoryBuffers prevent this. crbug.com/325045 506 // backed GpuMemoryBuffers prevent this. crbug.com/325045
507 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; 507 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_;
508 508
509 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 509 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
510 }; 510 };
511 511
512 } // namespace content 512 } // namespace content
513 513
514 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 514 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « trunk/src/content/renderer/pepper/pepper_platform_video_capture.cc ('k') | trunk/src/content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698