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