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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 class InputHandlerManager; | 80 class InputHandlerManager; |
81 class MediaStreamCenter; | 81 class MediaStreamCenter; |
82 class MediaStreamDependencyFactory; | 82 class MediaStreamDependencyFactory; |
83 class P2PSocketDispatcher; | 83 class P2PSocketDispatcher; |
84 class PeerConnectionTracker; | 84 class PeerConnectionTracker; |
85 class RendererWebKitPlatformSupportImpl; | 85 class RendererWebKitPlatformSupportImpl; |
86 class RenderProcessObserver; | 86 class RenderProcessObserver; |
87 class VideoCaptureImplManager; | 87 class VideoCaptureImplManager; |
88 class WebDatabaseObserverImpl; | 88 class WebDatabaseObserverImpl; |
89 class WebGraphicsContext3DCommandBufferImpl; | 89 class WebGraphicsContext3DCommandBufferImpl; |
| 90 class WebRtcLoggingMessageFilter; |
90 | 91 |
91 // The RenderThreadImpl class represents a background thread where RenderView | 92 // The RenderThreadImpl class represents a background thread where RenderView |
92 // instances live. The RenderThread supports an API that is used by its | 93 // instances live. The RenderThread supports an API that is used by its |
93 // consumer to talk indirectly to the RenderViews and supporting objects. | 94 // consumer to talk indirectly to the RenderViews and supporting objects. |
94 // Likewise, it provides an API for the RenderViews to talk back to the main | 95 // Likewise, it provides an API for the RenderViews to talk back to the main |
95 // process (i.e., their corresponding WebContentsImpl). | 96 // process (i.e., their corresponding WebContentsImpl). |
96 // | 97 // |
97 // Most of the communication occurs in the form of IPC messages. They are | 98 // Most of the communication occurs in the form of IPC messages. They are |
98 // routed to the RenderThread according to the routing IDs of the messages. | 99 // routed to the RenderThread according to the routing IDs of the messages. |
99 // The routing IDs correspond to RenderView instances. | 100 // The routing IDs correspond to RenderView instances. |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 // This is used to communicate to the browser process the status | 395 // This is used to communicate to the browser process the status |
395 // of all the peer connections created in the renderer. | 396 // of all the peer connections created in the renderer. |
396 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; | 397 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; |
397 | 398 |
398 // Dispatches all P2P sockets. | 399 // Dispatches all P2P sockets. |
399 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; | 400 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; |
400 | 401 |
401 // Used on multiple threads. | 402 // Used on multiple threads. |
402 scoped_refptr<VideoCaptureImplManager> vc_manager_; | 403 scoped_refptr<VideoCaptureImplManager> vc_manager_; |
403 | 404 |
| 405 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
| 406 |
404 // Used on multiple script execution context threads. | 407 // Used on multiple script execution context threads. |
405 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 408 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
406 | 409 |
407 #if defined(OS_WIN) | 410 #if defined(OS_WIN) |
408 // Initialize COM when using plugins outside the sandbox. | 411 // Initialize COM when using plugins outside the sandbox. |
409 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; | 412 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; |
410 #endif | 413 #endif |
411 | 414 |
412 // The count of RenderWidgets running through this thread. | 415 // The count of RenderWidgets running through this thread. |
413 int widget_count_; | 416 int widget_count_; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 467 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
465 | 468 |
466 HistogramCustomizer histogram_customizer_; | 469 HistogramCustomizer histogram_customizer_; |
467 | 470 |
468 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 471 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
469 }; | 472 }; |
470 | 473 |
471 } // namespace content | 474 } // namespace content |
472 | 475 |
473 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 476 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |