| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 | 557 |
| 558 #if defined(ENABLE_WEBRTC) | 558 #if defined(ENABLE_WEBRTC) |
| 559 std::unique_ptr<PeerConnectionDependencyFactory> peer_connection_factory_; | 559 std::unique_ptr<PeerConnectionDependencyFactory> peer_connection_factory_; |
| 560 | 560 |
| 561 // This is used to communicate to the browser process the status | 561 // This is used to communicate to the browser process the status |
| 562 // of all the peer connections created in the renderer. | 562 // of all the peer connections created in the renderer. |
| 563 std::unique_ptr<PeerConnectionTracker> peer_connection_tracker_; | 563 std::unique_ptr<PeerConnectionTracker> peer_connection_tracker_; |
| 564 | 564 |
| 565 // Dispatches all P2P sockets. | 565 // Dispatches all P2P sockets. |
| 566 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; | 566 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; |
| 567 #endif | |
| 568 | |
| 569 // Used on the render thread. | |
| 570 std::unique_ptr<VideoCaptureImplManager> vc_manager_; | |
| 571 | 567 |
| 572 // Used for communicating registering AEC dump consumers with the browser and | 568 // Used for communicating registering AEC dump consumers with the browser and |
| 573 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is | 569 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is |
| 574 // diagnostic audio data for WebRTC stored locally when enabled by the user in | 570 // diagnostic audio data for WebRTC stored locally when enabled by the user in |
| 575 // chrome://webrtc-internals. | 571 // chrome://webrtc-internals. |
| 576 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_; | 572 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_; |
| 573 #endif |
| 574 |
| 575 // Used on the render thread. |
| 576 std::unique_ptr<VideoCaptureImplManager> vc_manager_; |
| 577 | 577 |
| 578 // The count of RenderWidgets running through this thread. | 578 // The count of RenderWidgets running through this thread. |
| 579 int widget_count_; | 579 int widget_count_; |
| 580 | 580 |
| 581 // The count of hidden RenderWidgets running through this thread. | 581 // The count of hidden RenderWidgets running through this thread. |
| 582 int hidden_widget_count_; | 582 int hidden_widget_count_; |
| 583 | 583 |
| 584 // The current value of the idle notification timer delay. | 584 // The current value of the idle notification timer delay. |
| 585 int64_t idle_notification_delay_in_ms_; | 585 int64_t idle_notification_delay_in_ms_; |
| 586 | 586 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 715 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 716 }; | 716 }; |
| 717 | 717 |
| 718 #if defined(COMPILER_MSVC) | 718 #if defined(COMPILER_MSVC) |
| 719 #pragma warning(pop) | 719 #pragma warning(pop) |
| 720 #endif | 720 #endif |
| 721 | 721 |
| 722 } // namespace content | 722 } // namespace content |
| 723 | 723 |
| 724 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 724 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |