| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 class ChildConnection; | 59 class ChildConnection; |
| 60 class GpuClient; | 60 class GpuClient; |
| 61 class IndexedDBDispatcherHost; | 61 class IndexedDBDispatcherHost; |
| 62 class InProcessChildThreadParams; | 62 class InProcessChildThreadParams; |
| 63 class NotificationMessageFilter; | 63 class NotificationMessageFilter; |
| 64 #if BUILDFLAG(ENABLE_WEBRTC) | 64 #if BUILDFLAG(ENABLE_WEBRTC) |
| 65 class P2PSocketDispatcherHost; | 65 class P2PSocketDispatcherHost; |
| 66 #endif | 66 #endif |
| 67 class PermissionServiceContext; | 67 class PermissionServiceContext; |
| 68 class PeerConnectionTrackerHost; | 68 class PeerConnectionTrackerHost; |
| 69 class PushMessagingManager; |
| 69 class RenderFrameMessageFilter; | 70 class RenderFrameMessageFilter; |
| 70 class RenderWidgetHelper; | 71 class RenderWidgetHelper; |
| 71 class RenderWidgetHost; | 72 class RenderWidgetHost; |
| 72 class ResourceMessageFilter; | 73 class ResourceMessageFilter; |
| 73 class StoragePartition; | 74 class StoragePartition; |
| 74 class StoragePartitionImpl; | 75 class StoragePartitionImpl; |
| 75 | 76 |
| 76 namespace mojom { | 77 namespace mojom { |
| 77 class StoragePartitionService; | 78 class StoragePartitionService; |
| 78 } // namespace mojom | 79 } // namespace mojom |
| (...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 // UI thread is the source of sync IPCs and all shutdown signals. | 584 // UI thread is the source of sync IPCs and all shutdown signals. |
| 584 // Therefore a proper shutdown event to unblock the UI thread is not | 585 // Therefore a proper shutdown event to unblock the UI thread is not |
| 585 // possible without massive refactoring shutdown code. | 586 // possible without massive refactoring shutdown code. |
| 586 // Luckily Android never performs a clean shutdown. So explicitly | 587 // Luckily Android never performs a clean shutdown. So explicitly |
| 587 // ignore this problem. | 588 // ignore this problem. |
| 588 base::WaitableEvent never_signaled_; | 589 base::WaitableEvent never_signaled_; |
| 589 #endif | 590 #endif |
| 590 | 591 |
| 591 scoped_refptr<ResourceMessageFilter> resource_message_filter_; | 592 scoped_refptr<ResourceMessageFilter> resource_message_filter_; |
| 592 std::unique_ptr<GpuClient, BrowserThread::DeleteOnIOThread> gpu_client_; | 593 std::unique_ptr<GpuClient, BrowserThread::DeleteOnIOThread> gpu_client_; |
| 594 std::unique_ptr<PushMessagingManager, BrowserThread::DeleteOnIOThread> |
| 595 push_messaging_manager_; |
| 593 | 596 |
| 594 std::unique_ptr<OffscreenCanvasCompositorFrameSinkProviderImpl> | 597 std::unique_ptr<OffscreenCanvasCompositorFrameSinkProviderImpl> |
| 595 offscreen_canvas_provider_; | 598 offscreen_canvas_provider_; |
| 596 | 599 |
| 597 mojom::RouteProviderAssociatedPtr remote_route_provider_; | 600 mojom::RouteProviderAssociatedPtr remote_route_provider_; |
| 598 mojom::RendererAssociatedPtr renderer_interface_; | 601 mojom::RendererAssociatedPtr renderer_interface_; |
| 599 | 602 |
| 600 // Tracks active audio streams within the render process; used to determine if | 603 // Tracks active audio streams within the render process; used to determine if |
| 601 // if a process should be backgrounded. | 604 // if a process should be backgrounded. |
| 602 int audio_stream_count_ = 0; | 605 int audio_stream_count_ = 0; |
| 603 | 606 |
| 604 // A WeakPtrFactory which is reset every time Cleanup() runs. Used to vend | 607 // A WeakPtrFactory which is reset every time Cleanup() runs. Used to vend |
| 605 // WeakPtrs which are invalidated any time the RPHI is recycled. | 608 // WeakPtrs which are invalidated any time the RPHI is recycled. |
| 606 std::unique_ptr<base::WeakPtrFactory<RenderProcessHostImpl>> | 609 std::unique_ptr<base::WeakPtrFactory<RenderProcessHostImpl>> |
| 607 instance_weak_factory_; | 610 instance_weak_factory_; |
| 608 | 611 |
| 609 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 612 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 610 | 613 |
| 611 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 614 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 612 }; | 615 }; |
| 613 | 616 |
| 614 } // namespace content | 617 } // namespace content |
| 615 | 618 |
| 616 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 619 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |