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_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 namespace base { | 46 namespace base { |
47 class CommandLine; | 47 class CommandLine; |
48 class MessageLoop; | 48 class MessageLoop; |
49 class SharedPersistentMemoryAllocator; | 49 class SharedPersistentMemoryAllocator; |
50 } | 50 } |
51 | 51 |
52 namespace content { | 52 namespace content { |
53 class AudioInputRendererHost; | 53 class AudioInputRendererHost; |
54 class AudioRendererHost; | 54 class AudioRendererHost; |
| 55 class AudioStreamRegistryImpl; |
55 class ChildConnection; | 56 class ChildConnection; |
56 class InProcessChildThreadParams; | 57 class InProcessChildThreadParams; |
57 class MessagePortMessageFilter; | 58 class MessagePortMessageFilter; |
58 class NotificationMessageFilter; | 59 class NotificationMessageFilter; |
59 #if BUILDFLAG(ENABLE_WEBRTC) | 60 #if BUILDFLAG(ENABLE_WEBRTC) |
60 class P2PSocketDispatcherHost; | 61 class P2PSocketDispatcherHost; |
61 #endif | 62 #endif |
62 class PermissionServiceContext; | 63 class PermissionServiceContext; |
63 class PeerConnectionTrackerHost; | 64 class PeerConnectionTrackerHost; |
64 class RenderFrameMessageFilter; | 65 class RenderFrameMessageFilter; |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 bool gpu_observer_registered_; | 523 bool gpu_observer_registered_; |
523 | 524 |
524 // Set if a call to Cleanup is required once the RenderProcessHostImpl is no | 525 // Set if a call to Cleanup is required once the RenderProcessHostImpl is no |
525 // longer within the RenderProcessHostObserver::RenderProcessExited callbacks. | 526 // longer within the RenderProcessHostObserver::RenderProcessExited callbacks. |
526 bool delayed_cleanup_needed_; | 527 bool delayed_cleanup_needed_; |
527 | 528 |
528 // Indicates whether RenderProcessHostImpl is currently iterating and calling | 529 // Indicates whether RenderProcessHostImpl is currently iterating and calling |
529 // through RenderProcessHostObserver::RenderProcessExited. | 530 // through RenderProcessHostObserver::RenderProcessExited. |
530 bool within_process_died_observer_; | 531 bool within_process_died_observer_; |
531 | 532 |
| 533 std::unique_ptr<AudioStreamRegistryImpl, BrowserThread::DeleteOnIOThread> |
| 534 audio_stream_registry_; |
| 535 |
532 scoped_refptr<AudioRendererHost> audio_renderer_host_; | 536 scoped_refptr<AudioRendererHost> audio_renderer_host_; |
533 | 537 |
534 scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_; | 538 scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_; |
535 | 539 |
536 #if BUILDFLAG(ENABLE_WEBRTC) | 540 #if BUILDFLAG(ENABLE_WEBRTC) |
537 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; | 541 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; |
538 | 542 |
539 // Must be accessed on UI thread. | 543 // Must be accessed on UI thread. |
540 std::vector<int> aec_dump_consumers_; | 544 std::vector<int> aec_dump_consumers_; |
541 | 545 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 instance_weak_factory_; | 591 instance_weak_factory_; |
588 | 592 |
589 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 593 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
590 | 594 |
591 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 595 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
592 }; | 596 }; |
593 | 597 |
594 } // namespace content | 598 } // namespace content |
595 | 599 |
596 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 600 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |