Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 1930393002: Switch stream creation and closing in Chrome audio rendering from IPC to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: render_frame_id Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/media/audio_output_client.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 11 matching lines...) Expand all
22 #include "base/threading/thread_checker.h" 22 #include "base/threading/thread_checker.h"
23 #include "base/timer/timer.h" 23 #include "base/timer/timer.h"
24 #include "build/build_config.h" 24 #include "build/build_config.h"
25 #include "content/child/child_thread_impl.h" 25 #include "content/child/child_thread_impl.h"
26 #include "content/common/content_export.h" 26 #include "content/common/content_export.h"
27 #include "content/common/frame_replication_state.h" 27 #include "content/common/frame_replication_state.h"
28 #include "content/common/gpu_process_launch_causes.h" 28 #include "content/common/gpu_process_launch_causes.h"
29 #include "content/common/storage_partition_service.mojom.h" 29 #include "content/common/storage_partition_service.mojom.h"
30 #include "content/public/renderer/render_thread.h" 30 #include "content/public/renderer/render_thread.h"
31 #include "content/renderer/gpu/compositor_dependencies.h" 31 #include "content/renderer/gpu/compositor_dependencies.h"
32 #include "content/renderer/media/audio_output_client.h"
32 #include "gpu/ipc/client/gpu_channel_host.h" 33 #include "gpu/ipc/client/gpu_channel_host.h"
33 #include "net/base/network_change_notifier.h" 34 #include "net/base/network_change_notifier.h"
34 #include "third_party/WebKit/public/platform/WebConnectionType.h" 35 #include "third_party/WebKit/public/platform/WebConnectionType.h"
35 #include "ui/gfx/native_widget_types.h" 36 #include "ui/gfx/native_widget_types.h"
36 37
37 #if defined(OS_MACOSX) 38 #if defined(OS_MACOSX)
38 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" 39 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h"
39 #endif 40 #endif
40 41
41 class GrContext; 42 class GrContext;
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 // of all the peer connections created in the renderer. 548 // of all the peer connections created in the renderer.
548 std::unique_ptr<PeerConnectionTracker> peer_connection_tracker_; 549 std::unique_ptr<PeerConnectionTracker> peer_connection_tracker_;
549 550
550 // Dispatches all P2P sockets. 551 // Dispatches all P2P sockets.
551 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; 552 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_;
552 #endif 553 #endif
553 554
554 // Used on the render thread. 555 // Used on the render thread.
555 std::unique_ptr<VideoCaptureImplManager> vc_manager_; 556 std::unique_ptr<VideoCaptureImplManager> vc_manager_;
556 557
558 AudioOutputClient* audio_output_client_;
559
557 // Used for communicating registering AEC dump consumers with the browser and 560 // Used for communicating registering AEC dump consumers with the browser and
558 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is 561 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is
559 // diagnostic audio data for WebRTC stored locally when enabled by the user in 562 // diagnostic audio data for WebRTC stored locally when enabled by the user in
560 // chrome://webrtc-internals. 563 // chrome://webrtc-internals.
561 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_; 564 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_;
562 565
563 // The count of RenderWidgets running through this thread. 566 // The count of RenderWidgets running through this thread.
564 int widget_count_; 567 int widget_count_;
565 568
566 // The count of hidden RenderWidgets running through this thread. 569 // The count of hidden RenderWidgets running through this thread.
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 703 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
701 }; 704 };
702 705
703 #if defined(COMPILER_MSVC) 706 #if defined(COMPILER_MSVC)
704 #pragma warning(pop) 707 #pragma warning(pop)
705 #endif 708 #endif
706 709
707 } // namespace content 710 } // namespace content
708 711
709 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 712 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/audio_output_client.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698