| OLD | NEW |
| 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 | 426 |
| 427 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; | 427 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; |
| 428 | 428 |
| 429 // This is used to communicate to the browser process the status | 429 // This is used to communicate to the browser process the status |
| 430 // of all the peer connections created in the renderer. | 430 // of all the peer connections created in the renderer. |
| 431 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; | 431 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; |
| 432 | 432 |
| 433 // Dispatches all P2P sockets. | 433 // Dispatches all P2P sockets. |
| 434 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; | 434 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; |
| 435 | 435 |
| 436 // Used on multiple threads. | 436 // Used on the render thread. |
| 437 scoped_refptr<VideoCaptureImplManager> vc_manager_; | 437 scoped_ptr<VideoCaptureImplManager> vc_manager_; |
| 438 | 438 |
| 439 // The count of RenderWidgets running through this thread. | 439 // The count of RenderWidgets running through this thread. |
| 440 int widget_count_; | 440 int widget_count_; |
| 441 | 441 |
| 442 // The count of hidden RenderWidgets running through this thread. | 442 // The count of hidden RenderWidgets running through this thread. |
| 443 int hidden_widget_count_; | 443 int hidden_widget_count_; |
| 444 | 444 |
| 445 // The current value of the idle notification timer delay. | 445 // The current value of the idle notification timer delay. |
| 446 int64 idle_notification_delay_in_ms_; | 446 int64 idle_notification_delay_in_ms_; |
| 447 | 447 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 // multiple threads. Current allocation mechanism for IOSurface | 507 // multiple threads. Current allocation mechanism for IOSurface |
| 508 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 508 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
| 509 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 509 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
| 510 | 510 |
| 511 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 511 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 512 }; | 512 }; |
| 513 | 513 |
| 514 } // namespace content | 514 } // namespace content |
| 515 | 515 |
| 516 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 516 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |