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

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: use of process_ instead of audio_renderer_host 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 class RendererScheduler; 79 class RendererScheduler;
80 class WebThreadBase; 80 class WebThreadBase;
81 } 81 }
82 82
83 namespace v8 { 83 namespace v8 {
84 class Extension; 84 class Extension;
85 } 85 }
86 86
87 namespace content { 87 namespace content {
88 88
89 class AecDumpMessageFilter;
89 class AppCacheDispatcher; 90 class AppCacheDispatcher;
90 class AecDumpMessageFilter;
91 class AudioInputMessageFilter; 91 class AudioInputMessageFilter;
92 class AudioMessageFilter; 92 class AudioMessageFilter;
93 class AudioOutputClient;
93 class AudioRendererMixerManager; 94 class AudioRendererMixerManager;
94 class BlobMessageFilter; 95 class BlobMessageFilter;
95 class BluetoothMessageFilter; 96 class BluetoothMessageFilter;
96 class BrowserPluginManager; 97 class BrowserPluginManager;
97 class CacheStorageDispatcher; 98 class CacheStorageDispatcher;
98 class CompositorForwardingMessageFilter; 99 class CompositorForwardingMessageFilter;
99 class ContextProviderCommandBuffer; 100 class ContextProviderCommandBuffer;
100 class DBMessageFilter; 101 class DBMessageFilter;
101 class DevToolsAgentFilter; 102 class DevToolsAgentFilter;
102 class DomStorageDispatcher; 103 class DomStorageDispatcher;
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 #endif 636 #endif
636 637
637 scoped_refptr<BluetoothMessageFilter> bluetooth_message_filter_; 638 scoped_refptr<BluetoothMessageFilter> bluetooth_message_filter_;
638 639
639 scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_; 640 scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_;
640 641
641 base::ObserverList<RenderThreadObserver> observers_; 642 base::ObserverList<RenderThreadObserver> observers_;
642 643
643 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; 644 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_;
644 645
646 scoped_refptr<content::AudioOutputClient> audio_output_client_;
Henrik Grunell 2016/05/20 13:35:41 Isn't there one AOC per frame? Then it should be p
rchtara 2016/05/27 15:24:38 Done.
645 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 647 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
646 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_; 648 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_;
647 649
648 HistogramCustomizer histogram_customizer_; 650 HistogramCustomizer histogram_customizer_;
649 651
650 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 652 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
651 653
652 #if defined(ENABLE_WEBRTC) 654 #if defined(ENABLE_WEBRTC)
653 std::unique_ptr<WebRTCIdentityService> webrtc_identity_service_; 655 std::unique_ptr<WebRTCIdentityService> webrtc_identity_service_;
654 #endif 656 #endif
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 714 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
713 }; 715 };
714 716
715 #if defined(COMPILER_MSVC) 717 #if defined(COMPILER_MSVC)
716 #pragma warning(pop) 718 #pragma warning(pop)
717 #endif 719 #endif
718 720
719 } // namespace content 721 } // namespace content
720 722
721 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 723 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698