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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
419 | 419 |
420 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; | 420 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; |
421 | 421 |
422 // This is used to communicate to the browser process the status | 422 // This is used to communicate to the browser process the status |
423 // of all the peer connections created in the renderer. | 423 // of all the peer connections created in the renderer. |
424 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; | 424 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; |
425 | 425 |
426 // Dispatches all P2P sockets. | 426 // Dispatches all P2P sockets. |
427 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; | 427 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; |
428 | 428 |
429 // Used on multiple threads. | 429 // Used on the render thread. |
Ami GONE FROM CHROMIUM
2014/01/08 01:43:58
Not sure if this is necessary given the thread-loc
| |
430 scoped_refptr<VideoCaptureImplManager> vc_manager_; | 430 scoped_ptr<VideoCaptureImplManager> vc_manager_; |
431 | 431 |
432 // The count of RenderWidgets running through this thread. | 432 // The count of RenderWidgets running through this thread. |
433 int widget_count_; | 433 int widget_count_; |
434 | 434 |
435 // The count of hidden RenderWidgets running through this thread. | 435 // The count of hidden RenderWidgets running through this thread. |
436 int hidden_widget_count_; | 436 int hidden_widget_count_; |
437 | 437 |
438 // The current value of the idle notification timer delay. | 438 // The current value of the idle notification timer delay. |
439 int64 idle_notification_delay_in_ms_; | 439 int64 idle_notification_delay_in_ms_; |
440 | 440 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
500 // multiple threads. Current allocation mechanism for IOSurface | 500 // multiple threads. Current allocation mechanism for IOSurface |
501 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 501 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
502 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 502 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
503 | 503 |
504 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 504 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
505 }; | 505 }; |
506 | 506 |
507 } // namespace content | 507 } // namespace content |
508 | 508 |
509 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 509 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |