| 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 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. |
| 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 Loading... |
| 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_ |
| OLD | NEW |