| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 #endif | 65 #endif |
| 66 class PermissionServiceContext; | 66 class PermissionServiceContext; |
| 67 class PeerConnectionTrackerHost; | 67 class PeerConnectionTrackerHost; |
| 68 class RendererMainThread; | 68 class RendererMainThread; |
| 69 class RenderFrameMessageFilter; | 69 class RenderFrameMessageFilter; |
| 70 class RenderWidgetHelper; | 70 class RenderWidgetHelper; |
| 71 class RenderWidgetHost; | 71 class RenderWidgetHost; |
| 72 class RenderWidgetHostImpl; | 72 class RenderWidgetHostImpl; |
| 73 class RenderWidgetHostViewFrameSubscriber; | 73 class RenderWidgetHostViewFrameSubscriber; |
| 74 class ResourceMessageFilter; | 74 class ResourceMessageFilter; |
| 75 class SharedWorkerMessageFilter; |
| 75 class StoragePartition; | 76 class StoragePartition; |
| 76 class StoragePartitionImpl; | 77 class StoragePartitionImpl; |
| 77 | 78 |
| 78 namespace mojom { | 79 namespace mojom { |
| 79 class StoragePartitionService; | 80 class StoragePartitionService; |
| 80 } | 81 } |
| 81 | 82 |
| 82 typedef base::Thread* (*RendererMainThreadFactoryFunction)( | 83 typedef base::Thread* (*RendererMainThreadFactoryFunction)( |
| 83 const InProcessChildThreadParams& params); | 84 const InProcessChildThreadParams& params); |
| 84 | 85 |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 | 398 |
| 398 // Used to allow a RenderWidgetHost to intercept various messages on the | 399 // Used to allow a RenderWidgetHost to intercept various messages on the |
| 399 // IO thread. | 400 // IO thread. |
| 400 scoped_refptr<RenderWidgetHelper> widget_helper_; | 401 scoped_refptr<RenderWidgetHelper> widget_helper_; |
| 401 | 402 |
| 402 scoped_refptr<RenderFrameMessageFilter> render_frame_message_filter_; | 403 scoped_refptr<RenderFrameMessageFilter> render_frame_message_filter_; |
| 403 | 404 |
| 404 // The filter for MessagePort messages coming from the renderer. | 405 // The filter for MessagePort messages coming from the renderer. |
| 405 scoped_refptr<MessagePortMessageFilter> message_port_message_filter_; | 406 scoped_refptr<MessagePortMessageFilter> message_port_message_filter_; |
| 406 | 407 |
| 408 // The filter for SharedWorker messages coming from the renderer. |
| 409 scoped_refptr<SharedWorkerMessageFilter> shared_worker_message_filter_; |
| 410 |
| 407 // The filter for Web Notification messages coming from the renderer. Holds a | 411 // The filter for Web Notification messages coming from the renderer. Holds a |
| 408 // closure per notification that must be freed when the notification closes. | 412 // closure per notification that must be freed when the notification closes. |
| 409 scoped_refptr<NotificationMessageFilter> notification_message_filter_; | 413 scoped_refptr<NotificationMessageFilter> notification_message_filter_; |
| 410 | 414 |
| 411 // Used in single-process mode. | 415 // Used in single-process mode. |
| 412 std::unique_ptr<base::Thread> in_process_renderer_; | 416 std::unique_ptr<base::Thread> in_process_renderer_; |
| 413 | 417 |
| 414 // True after Init() has been called. We can't just check channel_ because we | 418 // True after Init() has been called. We can't just check channel_ because we |
| 415 // also reset that in the case of process termination. | 419 // also reset that in the case of process termination. |
| 416 bool is_initialized_; | 420 bool is_initialized_; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 scoped_refptr<ResourceMessageFilter> resource_message_filter_; | 538 scoped_refptr<ResourceMessageFilter> resource_message_filter_; |
| 535 | 539 |
| 536 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 540 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 537 | 541 |
| 538 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 542 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 539 }; | 543 }; |
| 540 | 544 |
| 541 } // namespace content | 545 } // namespace content |
| 542 | 546 |
| 543 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 547 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |