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

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: 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
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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 // of all the peer connections created in the renderer. 558 // of all the peer connections created in the renderer.
558 std::unique_ptr<PeerConnectionTracker> peer_connection_tracker_; 559 std::unique_ptr<PeerConnectionTracker> peer_connection_tracker_;
559 560
560 // Dispatches all P2P sockets. 561 // Dispatches all P2P sockets.
561 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; 562 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_;
562 #endif 563 #endif
563 564
564 // Used on the render thread. 565 // Used on the render thread.
565 std::unique_ptr<VideoCaptureImplManager> vc_manager_; 566 std::unique_ptr<VideoCaptureImplManager> vc_manager_;
566 567
568 AudioOutputClient* audio_output_client_;
mcasas 2016/04/29 18:29:01 Unused, right? Also the include in l.32
rchtara 2016/05/23 16:38:19 Done.
569
567 // Used for communicating registering AEC dump consumers with the browser and 570 // Used for communicating registering AEC dump consumers with the browser and
568 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is 571 // receving AEC dump file handles when AEC dump is enabled. An AEC dump is
569 // diagnostic audio data for WebRTC stored locally when enabled by the user in 572 // diagnostic audio data for WebRTC stored locally when enabled by the user in
570 // chrome://webrtc-internals. 573 // chrome://webrtc-internals.
571 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_; 574 scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_;
572 575
573 // The count of RenderWidgets running through this thread. 576 // The count of RenderWidgets running through this thread.
574 int widget_count_; 577 int widget_count_;
575 578
576 // The count of hidden RenderWidgets running through this thread. 579 // The count of hidden RenderWidgets running through this thread.
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 713 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
711 }; 714 };
712 715
713 #if defined(COMPILER_MSVC) 716 #if defined(COMPILER_MSVC)
714 #pragma warning(pop) 717 #pragma warning(pop)
715 #endif 718 #endif
716 719
717 } // namespace content 720 } // namespace content
718 721
719 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 722 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698